init
This commit is contained in:
54
pyproject.toml
Normal file
54
pyproject.toml
Normal file
@@ -0,0 +1,54 @@
|
||||
[project]
|
||||
name = "tgex-backend"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"aiogram>=3.16.0",
|
||||
"asyncpg>=0.30.0",
|
||||
"fastapi>=0.121.0",
|
||||
"pydantic-settings>=2.11.0",
|
||||
"sqlalchemy[asyncio]>=2.0.38",
|
||||
"uvicorn>=0.38.0",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"alembic>=1.17.1",
|
||||
"mypy>=1.18.2",
|
||||
"pytest>=8.4.2",
|
||||
"pytest-asyncio>=1.2.0",
|
||||
"ruff>=0.14.4",
|
||||
"ty>=0.0.1a25",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
exclude = [".venv"]
|
||||
target-version = "py313"
|
||||
line-length = 100
|
||||
select = [
|
||||
"E", # pycodestyle errors
|
||||
"F", # pyflakes
|
||||
"I", # isort
|
||||
"B", # flake8-bugbear
|
||||
"C4", # flake8-comprehensions
|
||||
"UP", # pyupgrade
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
ignore = ["B008"]
|
||||
|
||||
[tool.ruff.format]
|
||||
quote-style = "single"
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
plugins = [
|
||||
"pydantic.mypy",
|
||||
"sqlalchemy.ext.mypy.plugin"
|
||||
]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["src", "."]
|
||||
Reference in New Issue
Block a user