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

@@ -20,6 +20,6 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
from .models import Feed, LocalFeed, Message, LocalMessage, NoPrivateKeyException
from .models import Feed, LocalFeed, LocalMessage, Message, NoPrivateKeyException
__all__ = ("Feed", "LocalFeed", "Message", "LocalMessage", "NoPrivateKeyException")

View File

@@ -20,16 +20,15 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import datetime
from base64 import b64encode
from collections import namedtuple, OrderedDict
from collections import OrderedDict, namedtuple
import datetime
from hashlib import sha256
from simplejson import dumps, loads
from ssb.util import tag
OrderedMsg = namedtuple("OrderedMsg", ("previous", "author", "sequence", "timestamp", "hash", "content"))