-
Notifications
You must be signed in to change notification settings - Fork 81
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.56 KB
/
pyproject.toml
File metadata and controls
68 lines (60 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[project]
authors = [{ name = "admin", email = "admin@example.com" }]
dependencies = [
"alembic>=1.18.3",
"asyncpg>=0.31.0",
"bcrypt>=5.0.0",
"fastapi>=0.128.0",
"prometheus-client>=0.24.1",
"pydantic-settings>=2.12.0",
"pydantic[email]>=2.12.5",
"pyjwt>=2.11.0",
"python-multipart>=0.0.22",
"sqlalchemy[asyncio]>=2.0.46",
]
description = "FastAPI project generated using minimal-fastapi-postgres-template."
name = "app"
requires-python = ">=3.14,<3.15"
version = "0.1.0-alpha"
[dependency-groups]
dev = [
"coverage>=7.13.2",
"freezegun>=1.5.5",
"greenlet>=3.3.1",
"httpx>=0.28.1",
"mypy>=1.19.1",
"polyfactory>=3.2.0",
"pre-commit>=4.5.1",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
"pytest>=9.0.2",
"ruff>=0.14.14",
"uvicorn[standard]>=0.40.0",
]
[tool.uv]
package = false
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[tool.pytest.ini_options]
addopts = "-vv -n auto --cov --cov-report xml --cov-report term-missing --cov-fail-under=100"
asyncio_default_test_loop_scope = "session"
asyncio_mode = "auto"
filterwarnings = [""]
testpaths = ["app"]
[tool.coverage.run]
concurrency = ["greenlet"]
omit = ["alembic/*", "app/tests/*", "conftest.py", "test_*.py"]
source = ["app"]
[tool.mypy]
exclude = [".venv", "alembic"]
files = "app/**"
python_version = "3.14"
strict = true
[tool.ruff]
target-version = "py314"
[tool.ruff.lint]
# pycodestyle, pyflakes, isort, pylint, pyupgrade
ignore = ["E501"]
select = ["E", "F", "I", "PL", "UP", "W"]