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

View File

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

View File

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