mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
pantalaimon: Run isort.
This commit is contained in:
parent
1311dbdef0
commit
531d686d8f
@ -28,9 +28,9 @@ from multidict import CIMultiDict
|
||||
from nio import (Api, EncryptionError, LoginResponse, OlmTrustError,
|
||||
SendRetryError)
|
||||
|
||||
from pantalaimon.client import (InvalidLimit, InvalidOrderByError, PanClient,
|
||||
UnknownRoomError, SEARCH_TERMS_SCHEMA,
|
||||
validate_json)
|
||||
from pantalaimon.client import (SEARCH_TERMS_SCHEMA, InvalidLimit,
|
||||
InvalidOrderByError, PanClient,
|
||||
UnknownRoomError, validate_json)
|
||||
from pantalaimon.index import InvalidQueryError
|
||||
from pantalaimon.log import logger
|
||||
from pantalaimon.store import ClientInfo, PanStore
|
||||
@ -49,7 +49,6 @@ from pantalaimon.thread_messages import (AcceptSasMessage, CancelSasMessage,
|
||||
UpdateDevicesMessage,
|
||||
UpdateUsersMessage)
|
||||
|
||||
|
||||
CORS_HEADERS = {
|
||||
"Access-Control-Allow-Headers": (
|
||||
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
||||
|
@ -1,22 +1,22 @@
|
||||
import asyncio
|
||||
import shutil
|
||||
import tempfile
|
||||
import janus
|
||||
from random import choices
|
||||
from urllib.parse import urlparse
|
||||
from string import ascii_letters, ascii_uppercase, digits
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import janus
|
||||
import pytest
|
||||
from aiohttp import web
|
||||
from aioresponses import aioresponses
|
||||
|
||||
import pytest
|
||||
from faker import Faker
|
||||
from faker.providers import BaseProvider
|
||||
from nio.crypto import OlmAccount
|
||||
from nio.store import SqliteStore
|
||||
|
||||
from pantalaimon.store import ClientInfo, PanStore
|
||||
from pantalaimon.daemon import ProxyDaemon
|
||||
from pantalaimon.config import ServerConfig
|
||||
from pantalaimon.daemon import ProxyDaemon
|
||||
from pantalaimon.store import ClientInfo, PanStore
|
||||
|
||||
faker = Faker()
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import asyncio
|
||||
import re
|
||||
import json
|
||||
import re
|
||||
|
||||
from aiohttp import web
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user