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,
|
from nio import (Api, EncryptionError, LoginResponse, OlmTrustError,
|
||||||
SendRetryError)
|
SendRetryError)
|
||||||
|
|
||||||
from pantalaimon.client import (InvalidLimit, InvalidOrderByError, PanClient,
|
from pantalaimon.client import (SEARCH_TERMS_SCHEMA, InvalidLimit,
|
||||||
UnknownRoomError, SEARCH_TERMS_SCHEMA,
|
InvalidOrderByError, PanClient,
|
||||||
validate_json)
|
UnknownRoomError, validate_json)
|
||||||
from pantalaimon.index import InvalidQueryError
|
from pantalaimon.index import InvalidQueryError
|
||||||
from pantalaimon.log import logger
|
from pantalaimon.log import logger
|
||||||
from pantalaimon.store import ClientInfo, PanStore
|
from pantalaimon.store import ClientInfo, PanStore
|
||||||
@ -49,7 +49,6 @@ from pantalaimon.thread_messages import (AcceptSasMessage, CancelSasMessage,
|
|||||||
UpdateDevicesMessage,
|
UpdateDevicesMessage,
|
||||||
UpdateUsersMessage)
|
UpdateUsersMessage)
|
||||||
|
|
||||||
|
|
||||||
CORS_HEADERS = {
|
CORS_HEADERS = {
|
||||||
"Access-Control-Allow-Headers": (
|
"Access-Control-Allow-Headers": (
|
||||||
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
"Origin, X-Requested-With, Content-Type, Accept, Authorization"
|
||||||
|
@ -1,22 +1,22 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import shutil
|
import shutil
|
||||||
import tempfile
|
import tempfile
|
||||||
import janus
|
|
||||||
from random import choices
|
from random import choices
|
||||||
from urllib.parse import urlparse
|
|
||||||
from string import ascii_letters, ascii_uppercase, digits
|
from string import ascii_letters, ascii_uppercase, digits
|
||||||
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
|
import janus
|
||||||
|
import pytest
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
from aioresponses import aioresponses
|
from aioresponses import aioresponses
|
||||||
|
|
||||||
import pytest
|
|
||||||
from faker import Faker
|
from faker import Faker
|
||||||
from faker.providers import BaseProvider
|
from faker.providers import BaseProvider
|
||||||
from nio.crypto import OlmAccount
|
from nio.crypto import OlmAccount
|
||||||
from nio.store import SqliteStore
|
from nio.store import SqliteStore
|
||||||
|
|
||||||
from pantalaimon.store import ClientInfo, PanStore
|
|
||||||
from pantalaimon.daemon import ProxyDaemon
|
|
||||||
from pantalaimon.config import ServerConfig
|
from pantalaimon.config import ServerConfig
|
||||||
|
from pantalaimon.daemon import ProxyDaemon
|
||||||
|
from pantalaimon.store import ClientInfo, PanStore
|
||||||
|
|
||||||
faker = Faker()
|
faker = Faker()
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import asyncio
|
import asyncio
|
||||||
import re
|
|
||||||
import json
|
import json
|
||||||
|
import re
|
||||||
|
|
||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user