ci: Configure isort and make it happy

This commit is contained in:
2023-10-29 10:47:21 +01:00
parent d28ca167f2
commit 95039914ba
7 changed files with 21 additions and 7 deletions

View File

@@ -42,7 +42,10 @@ class AsyncBuffer(BytesIO):
async def async_comprehend(generator):
"""Emulate ``[elem async for elem in generator]``."""
results = []
async for msg in generator:
results.append(msg)
return results

View File

@@ -22,9 +22,9 @@
import hashlib
import pytest
from nacl.public import PrivateKey
from nacl.signing import SigningKey
import pytest
from secret_handshake.crypto import SHSClientCrypto, SHSServerCrypto

View File

@@ -20,11 +20,11 @@
"""Tests for the networking components"""
import os
from asyncio import Event, wait_for
import os
import pytest
from nacl.signing import SigningKey
import pytest
from secret_handshake import SHSClient, SHSServer