mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Fix lint
This commit is contained in:
@@ -6,16 +6,16 @@ authors = ["Kurbanov Bulat <kurbanovbul@gmail.com>"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
fastapi = "^0.95.0"
|
||||
httpx = "^0.23.3"
|
||||
alembic = "^1.10.2"
|
||||
uvicorn = {extras = ["standard"], version = "^0.21.1"}
|
||||
fastapi = "^0.95.1"
|
||||
httpx = "^0.24.0"
|
||||
alembic = "^1.10.4"
|
||||
uvicorn = {extras = ["standard"], version = "^0.22.0"}
|
||||
arq = "^0.25.0"
|
||||
prometheus-fastapi-instrumentator = "^6.0.0"
|
||||
uvloop = "^0.17.0"
|
||||
gunicorn = "^20.1.0"
|
||||
orjson = "^3.8.8"
|
||||
sentry-sdk = "^1.17.0"
|
||||
orjson = "^3.8.11"
|
||||
sentry-sdk = "^1.22.1"
|
||||
ormar = {extras = ["postgresql"], version = "^0.12.1"}
|
||||
pydantic = "^1.10.4"
|
||||
redis = {version = "4.5.4", extras = ["hiredis"]}
|
||||
@@ -64,14 +64,13 @@ max-complexity = 15
|
||||
[tool.ruff.isort]
|
||||
known-first-party = ["core", "app"]
|
||||
force-sort-within-sections = true
|
||||
force-wrap-aliases = true
|
||||
section-order = ["future", "standard-library", "base_framework", "framework_ext", "third-party", "first-party", "local-folder"]
|
||||
lines-after-imports = 2
|
||||
|
||||
# only_sections = true
|
||||
# force_sort_within_sections = true
|
||||
# lines_after_imports = 2
|
||||
# lexicographical = true
|
||||
# sections = ["FUTURE", "STDLIB", "BASEFRAMEWORK", "FRAMEWORKEXT", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
||||
# known_baseframework = ["fastapi",]
|
||||
# known_frameworkext = ["starlette",]
|
||||
[tool.ruff.isort.sections]
|
||||
base_framework = ["fastapi",]
|
||||
framework_ext = ["starlette"]
|
||||
|
||||
[tool.ruff.pyupgrade]
|
||||
keep-runtime-typing = true
|
||||
|
||||
Reference in New Issue
Block a user