Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (64 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (64 loc) · 1.57 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
69
70
[project]
name = "my-api"
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.13,<4.0"
authors = [
{name = "Your Name", email = "your@email.com"},
]
dependencies = [
"fastapi>=0.136.1,<0.137.0",
"uvicorn>=0.46.0,<0.47.0",
"sqlalchemy>=2.0.49,<3.0.0",
"psycopg2-binary>=2.9.12,<3.0.0",
"asyncpg>=0.31.0,<0.32.0",
"pydantic-settings>=2.14.0,<3.0.0",
"greenlet>=3.4.0,<4.0.0",
"httpx>=0.28.1,<0.29.0",
"dependency-injector>=4.48.3,<5.0.0",
"coloredlogs>=15.0.1,<16.0.0",
"alembic>=1.18.3,<2.0.0",
"ruff>=0.15.12,<0.16.0",
"pre-commit>=4.6.0,<5.0.0",
"black>=26.3.1,<27.0.0",
"apscheduler>=3.11.2,<4.0.0",
"factory-boy>=3.3.3,<4.0.0",
"cachetools>=7.0.6,<8.0.0",
"joserfc>=1.0,<2.0.0",
]
[dependency-groups]
dev = [
"pytest>=9.0.3,<10.0.0",
"pytest-asyncio>=1.3.0,<2.0.0",
"bandit>=1.9.4,<2.0.0",
]
[tool.uv]
package = false
[tool.black]
line-length = 120
skip-string-normalization = true
target-version = ['py38', 'py39', 'py310', 'py311', 'py312']
[tool.ruff]
line-length = 120
target-version = "py312"
lint.select = ["E", "F", "W", "I", "N", "UP", "B", "C4", "SIM"]
lint.ignore = [
"E203", # whitespace before ':'
"W291", # trailing whitespace
"W292", # no newline at end of file
]
exclude = [
".git",
"__pycache__",
".venv",
"venv",
".pytest_cache",
"migrations"
]
[tool.ruff.lint.isort]
force-single-line = false
force-sort-within-sections = false
known-first-party = []
[tool.bandit]
exclude_dirs = [".venv", "venv", "tests", "__pycache__"]