feat: create backend skeleton
This commit is contained in:
+16
-2
@@ -6,14 +6,27 @@ authors = [
|
||||
{ name = "h", email = "h@kotikot.com" }
|
||||
]
|
||||
requires-python = ">=3.13"
|
||||
dependencies = []
|
||||
dependencies = [
|
||||
"kurigram>=2.2.23",
|
||||
"tgcrypto>=1.2.5",
|
||||
"asyncpg>=0.30.0",
|
||||
"sqlmodel>=0.0.22",
|
||||
"alembic>=1.14.0",
|
||||
"pydantic-settings>=2.7.0",
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.34.0",
|
||||
"uvloop>=0.21.0",
|
||||
"rich>=13.9.0",
|
||||
"dishka>=1.4.0",
|
||||
"greenlet>=3.1.0",
|
||||
]
|
||||
|
||||
[build-system]
|
||||
requires = ["uv_build>=0.11.14,<0.12.0"]
|
||||
build-backend = "uv_build"
|
||||
|
||||
[tool.uv.build-backend]
|
||||
module-name = ["app"]
|
||||
module-name = ["userbot", "api", "utils", "dependencies"]
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py313"
|
||||
@@ -27,6 +40,7 @@ unfixable = ["F401"]
|
||||
"scripts/*" = ["INP"]
|
||||
"t/*" = ["ALL"]
|
||||
"*.lock" = ["ALL"]
|
||||
"migrations/*" = ["INP", "D", "E501"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
Reference in New Issue
Block a user