-
Notifications
You must be signed in to change notification settings - Fork 66
/
pyproject.toml
59 lines (50 loc) · 1.4 KB
/
pyproject.toml
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
[tool.poetry]
authors = ["admin <[email protected]>"]
description = "FastAPI project generated using minimal-fastapi-postgres-template."
name = "app"
version = "0.1.0-alpha"
[tool.poetry.dependencies]
python = "^3.13"
alembic = "^1.14.0"
asyncpg = "^0.30.0"
bcrypt = "^4.2.1"
fastapi = "^0.115.6"
pydantic = { extras = ["dotenv", "email"], version = "^2.10.3" }
pydantic-settings = "^2.6.1"
pyjwt = "^2.10.1"
python-multipart = "^0.0.19"
sqlalchemy = {extras = ["asyncio"], version = "^2.0.36"}
[tool.poetry.group.dev.dependencies]
coverage = "^7.6.9"
freezegun = "^1.5.1"
greenlet = "^3.1.1"
httpx = "^0.28.1"
mypy = "^1.13.0"
pre-commit = "^4.0.1"
pytest = "^8.3.4"
pytest-asyncio = "^0.24.0"
pytest-cov = "^6.0.0"
pytest-xdist = "^3.6.1"
ruff = "^0.8.2"
uvicorn = { extras = ["standard"], version = "^0.32.1" }
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
[tool.pytest.ini_options]
addopts = "-vv -n auto --cov --cov-report xml --cov-report term-missing --cov-fail-under=100"
asyncio_default_fixture_loop_scope = "session"
asyncio_mode = "auto"
testpaths = ["app/tests"]
[tool.coverage.run]
concurrency = ["greenlet"]
omit = ["app/tests/*"]
source = ["app"]
[tool.mypy]
python_version = "3.13"
strict = true
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
# pycodestyle, pyflakes, isort, pylint, pyupgrade
ignore = ["E501"]
select = ["E", "F", "I", "PL", "UP", "W"]