mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
pantalaimon: Isort the repo.
This commit is contained in:
parent
0bd4562be7
commit
51700068b9
@ -1,17 +1,10 @@
|
||||
import asyncio
|
||||
from typing import Any, Dict
|
||||
from pprint import pformat
|
||||
from typing import Any, Dict
|
||||
|
||||
from nio import (
|
||||
AsyncClient,
|
||||
RoomEncryptedEvent,
|
||||
MegolmEvent,
|
||||
EncryptionError,
|
||||
SyncResponse,
|
||||
KeysQueryResponse,
|
||||
LocalProtocolError,
|
||||
GroupEncryptionError
|
||||
)
|
||||
from nio import (AsyncClient, EncryptionError, GroupEncryptionError,
|
||||
KeysQueryResponse, LocalProtocolError, MegolmEvent,
|
||||
RoomEncryptedEvent, SyncResponse)
|
||||
|
||||
from pantalaimon.log import logger
|
||||
|
||||
|
@ -1,25 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import attr
|
||||
import asyncio
|
||||
import aiohttp
|
||||
import os
|
||||
import json
|
||||
import logbook
|
||||
|
||||
import click
|
||||
import os
|
||||
from ipaddress import ip_address
|
||||
from urllib.parse import urlparse
|
||||
from logbook import StderrHandler
|
||||
|
||||
from aiohttp import web, ClientSession
|
||||
from nio import (
|
||||
LoginResponse,
|
||||
GroupEncryptionError,
|
||||
)
|
||||
from appdirs import user_data_dir
|
||||
from json import JSONDecodeError
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import aiohttp
|
||||
import attr
|
||||
import click
|
||||
import logbook
|
||||
from aiohttp import ClientSession, web
|
||||
from appdirs import user_data_dir
|
||||
from logbook import StderrHandler
|
||||
from multidict import CIMultiDict
|
||||
from nio import GroupEncryptionError, LoginResponse
|
||||
|
||||
from pantalaimon.client import PantaClient
|
||||
from pantalaimon.log import logger
|
||||
|
@ -1,16 +1,10 @@
|
||||
import os
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
import attr
|
||||
from typing import Tuple, List, Optional
|
||||
|
||||
from peewee import (
|
||||
Model,
|
||||
TextField,
|
||||
ForeignKeyField,
|
||||
DoesNotExist,
|
||||
SqliteDatabase
|
||||
)
|
||||
|
||||
from nio.store import Accounts, use_database
|
||||
from peewee import (DoesNotExist, ForeignKeyField, Model, SqliteDatabase,
|
||||
TextField)
|
||||
|
||||
|
||||
class AccessTokens(Model):
|
||||
|
2
setup.py
2
setup.py
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
setup(
|
||||
name="pantalaimon",
|
||||
|
@ -1,18 +1,16 @@
|
||||
import pdb
|
||||
import pytest
|
||||
import tempfile
|
||||
import shutil
|
||||
import tempfile
|
||||
from random import choices
|
||||
from string import ascii_letters, ascii_uppercase, digits
|
||||
|
||||
from nio.crypto import OlmAccount
|
||||
from nio.store import SqliteStore
|
||||
from pantalaimon.store import PanStore
|
||||
|
||||
import pytest
|
||||
from faker import Faker
|
||||
from faker.providers import BaseProvider
|
||||
from nio.crypto import OlmAccount
|
||||
from nio.store import SqliteStore
|
||||
|
||||
from random import choices
|
||||
from string import digits, ascii_letters, ascii_uppercase
|
||||
|
||||
from pantalaimon.store import PanStore
|
||||
|
||||
faker = Faker()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user