-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (61 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
65 lines (61 loc) · 1.63 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
[project]
name = "edp-api"
version = "1.0.0-beta"
requires-python = "==3.13.2"
dependencies = [
"boto3>=1.35.0",
"botocore>=1.35.0",
"classy-fastapi>=0.6.1",
"fastapi>=0.116.1",
"httpx>=0.28.1",
"pydantic[email]>=2.11.7",
"pydantic-settings>=2.6.0",
"pyyaml>=6.0.2",
"uvicorn>=0.34.0",
"graphviz>=0.21",
"openpyxl>=3.1.5",
"ezdxf>=1.4.4",
"matplotlib>=3.10",
"svgpathtools>=1.6",
"numpy>=2.0",
"playwright>=1.48",
"reportlab>=4.5.1",
]
[dependency-groups]
dev = [
"bandit>=1.8.0",
"black[d]>=26.3.1",
"poethepoet>=0.32.0",
"pook>=1.4.0",
"ty>=0.0.18",
"types-pyyaml>=6.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.24.0",
"ruff>=0.8.4",
"pip-audit>=2.6.1",
"pytest-cov>=6.0.0",
"deptry>=0.23.0",
"testcontainers>=4.5.0",
"pip>=25.1.1",
"syrupy>=5.1.0",
]
[tool.poe.tasks]
dev = "python -m src.main"
depcheck = "deptry ."
format = "black ."
lint = "ruff check"
typecheck = "ty check"
audit-src = "bandit -r src/* -s B101"
audit-packages = "pip-audit"
security = ["audit-src", "audit-packages"]
checks = ["depcheck", "format", "lint", "typecheck", "security"]
unit = "pytest -vv src/*"
integration = "pytest -vv tests/*"
cover = "pytest -vv --cov"
review = "claude 'run code-reviewer agent against diff for quality and elegance'"
commit = "bash -c 'uv run poe checks && uv run poe cover && uv run poe review && git add -A && git cz && git push'"
[tool.coverage.run]
omit = ["*/test_*.py", "tests/*"]
[tool.deptry.per_rule_ignores]
# Reason: pytest is a dev-only import allowed in colocated `test_*.py` files under src/.
DEP004 = ["pytest"]