-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
91 lines (83 loc) · 1.68 KB
/
Copy pathpyproject.toml
File metadata and controls
91 lines (83 loc) · 1.68 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[project]
name = "prodik"
version = "0.1.0"
description = "Great & powerful application"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"alembic==1.18.4",
"argon2-cffi==25.1.0",
"asyncpg==0.31.0",
"cryptography==46.0.5",
"dirty-equals==0.11",
"dishka==1.7.2",
"fastapi==0.128.0",
"httpx==0.28.1",
"polyfactory==3.3.0",
"pydantic[email]==2.13.2",
"pyjwt==2.11.0",
"redis[hiredis]==7.4.0",
"sqlalchemy==2.0.46",
"structlog==25.5.0",
"uvicorn==0.40.0",
]
[project.optional-dependencies]
dev = [
"pytest-asyncio==1.3.0",
"pytest",
"mypy",
"ruff",
"datamodel-code-generator==0.54.0",
]
[tool.ruff]
target-version = "py313"
line-length = 88
exclude = [".venv", "src/prodik/infrastructure/persistence/migrations"]
[tool.ruff.lint]
extend-select = ["ALL"]
ignore = [
"PLR0913",
"PT019",
"S311",
"ANN401",
"COM812",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D203",
"D212",
"EM101",
"EM102",
"TRY003",
"S101",
"PGH003"
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.mypy]
strict = true
explicit_package_bases = true
exclude = ["build", "src/prodik/infrastructure/persistence/migrations"]
warn_unreachable = true
show_column_numbers = true
show_error_context = true
check_untyped_defs = true
ignore_missing_imports = false
warn_no_return = true
warn_return_any = true
mypy_path = "src"
plugins = [
"pydantic.mypy",
]
files = ["src/prodik"]
[project.scripts]
prodik = "prodik.bootstrap.cli:main"