-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
81 lines (70 loc) · 1.88 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[tool.black]
line-length = 119
target-version = ["py311"]
[tool.isort]
line_length = 119
profile = "black"
[tool.bandit]
exclude_dirs = ["tests", ".venv"]
[tool.ruff]
line-length = 119
target-version = "py311"
[tool.ruff.isort]
known-first-party = ["pdm"]
[tool.coverage]
[tool.coverage.run]
source = ["app"]
omit = ["tests/*", "*conftest.py"]
[tool.pytest.ini_options]
addopts = "--cov-report term-missing --strict-markers"
python_files = ["tests.py", "test_*.py", "*_tests.py"]
[tool.pdm]
[tool.pdm.dev-dependencies]
lint = [
"pre-commit<4.0.0,>=3.5.0",
"bandit>=1.7.5",
"black<24.0.0,>=23.10.1",
"isort<6.0.0,>=5.12.0",
"ruff<1.0.0,>=0.1.3",
"mypy<2.0.0,>=1.6.1",
"pylint<3.1.0,>=2.17.1",
]
test = [
"pytest<8.0.0,>=7.4.3",
"pytest-asyncio<1.0.0,>=0.21.1",
"pytest-cov<5.0.0,>=4.1.0",
"pytest-xdist[psutil]<4.0.0,>=3.3.1",
"httpx<1.0.0,>=0.25.0",
]
[tool.pdm.build]
includes = []
[project]
name = "fastapi-tdd-docker"
version = "2.0.0"
description = "Test-driven development with FastAPI and Docker"
authors = [{ name = "Evgeni Sautin", email = "[email protected]" }]
license = { text = "MIT" }
requires-python = ">=3.11,<4.0"
dependencies = [
"python-jose[cryptography]<4.0.0,>=3.3.0",
"python-multipart<1.0.0,>=0.0.6",
"fastapi<1.0.0,>=0.95.0",
"celery<6.0.0,>=5.2.7",
"gunicorn<21.1.2,>=20.1.0",
"uvicorn[standard]<1.0.0,>=0.21.1",
"email-validator>=2.1.0.post1",
"pydantic-settings>=2.0.3",
"passlib[bcrypt]<2.0.0,>=1.7.4",
"newspaper3k<1.0.0,>=0.2.8",
"transformers[torch]>=4.34.1",
"sentencepiece<1.0.0,>=0.1.99",
"protobuf>=4.24.4",
"redis[hiredis]>=5.0.1",
"sqlalchemy[aiosqlite,asyncmy,pymysql]<3.0.0,>=2.0.15",
"alembic<2.0.0,>=1.10.3",
]
[project.urls]
Repository = "https://github.com/spyker77/fastapi-tdd-docker"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"