chore: sort imports
This commit is contained in:
parent
da87b4e273
commit
0c52ebb7bc
3 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@ from quart_schema import QuartSchema, RequestSchemaValidationError
|
|||
from .blueprints import members_blueprint, users_blueprint
|
||||
from .db.aio import async_session
|
||||
from .db.util import validate_token
|
||||
from .exceptions import ExpectedError, ErrorCode
|
||||
from .exceptions import ErrorCode, ExpectedError
|
||||
|
||||
app = Quart(__name__)
|
||||
app = cors(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import enum
|
||||
from datetime import datetime
|
||||
from typing import Any, TYPE_CHECKING
|
||||
from typing import TYPE_CHECKING, Any
|
||||
|
||||
from sqlalchemy import BigInteger, DateTime, ForeignKey, Integer, Text
|
||||
from sqlalchemy.dialects.postgresql import ARRAY, JSONB
|
||||
|
|
|
@ -53,6 +53,7 @@ cmd = "alembic upgrade head"
|
|||
test = "pytest"
|
||||
lint = "ruff check"
|
||||
format = "ruff format"
|
||||
"check-imports" = "ruff check --select I"
|
||||
"sort-imports" = "ruff check --select I --fix"
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
|
|
Loading…
Reference in a new issue