Add isort force-sort-within-sections

This commit is contained in:
2023-01-09 21:32:30 +01:00
parent 1f18897dc3
commit 966765a532
6 changed files with 7 additions and 6 deletions

View File

@@ -2,11 +2,11 @@ from fastapi import FastAPI
from fastapi.responses import ORJSONResponse
from prometheus_fastapi_instrumentator import Instrumentator
import core.sentry # noqa: F401
from app.views import healthcheck_router, router
from core.arq_pool import get_arq_pool
from core.db import database
from core.redis_client import get_client
import core.sentry # noqa: F401
def start_app() -> FastAPI:

View File

@@ -1,5 +1,5 @@
import msgpack
from arq.connections import ArqRedis, RedisSettings, create_pool
import msgpack
from core.config import env_config

View File

@@ -1,6 +1,5 @@
import msgpack
import core.sentry # noqa: F401
from app.services.cache_updater import (
cache_file_by_book_id,
check_books,
@@ -9,6 +8,7 @@ from app.services.cache_updater import (
from core.arq_pool import get_arq_pool, get_redis_settings
from core.db import database
from core.redis_client import get_client
import core.sentry # noqa: F401
async def startup(ctx):