ci: Update and configure isort, and make it happy

This commit is contained in:
2023-11-14 05:00:03 +01:00
parent d1a0510734
commit 8f5d355ea0
12 changed files with 44 additions and 39 deletions

View File

@@ -23,11 +23,10 @@
from base64 import b64decode
from collections import OrderedDict
import pytest
from nacl.signing import SigningKey, VerifyKey
import pytest
from ssb.feed import LocalMessage, LocalFeed, Feed, Message, NoPrivateKeyException
from ssb.feed import Feed, LocalFeed, LocalMessage, Message, NoPrivateKeyException
SERIALIZED_M1 = b"""{
"previous": null,

View File

@@ -20,13 +20,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
from asyncio import Event, ensure_future, gather
import json
from asyncio import ensure_future, gather, Event
import pytest
from nacl.signing import SigningKey
import pytest
from secret_handshake.network import SHSDuplexStream
from ssb.packet_stream import PacketStream, PSMessageType

View File

@@ -25,8 +25,7 @@ from unittest.mock import mock_open, patch
import pytest
from ssb.util import load_ssb_secret, ConfigException
from ssb.util import ConfigException, load_ssb_secret
CONFIG_FILE = """
## Comments should be supported too