pantalaimon: Run isort.

This commit is contained in:
Damir Jelić 2019-06-19 12:07:56 +02:00
parent 1311dbdef0
commit 531d686d8f
3 changed files with 10 additions and 11 deletions

View File

@ -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"

View File

@ -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()

View File

@ -1,6 +1,6 @@
import asyncio import asyncio
import re
import json import json
import re
from aiohttp import web from aiohttp import web