-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (53 loc) · 1.63 KB
/
pyproject.toml
File metadata and controls
56 lines (53 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
[project]
name = "platform-api"
version = "1.0.0-beta"
requires-python = "==3.13.2"
dependencies = [
"aioboto3>=13.2.0",
"asyncpg>=0.30.0",
"classy-fastapi>=0.6.1",
"fastapi>=0.116.1",
"httpx>=0.28.1",
"jinja2>=3.1.0",
"pydantic[email]>=2.11.7",
"pyyaml>=6.0.2",
"tortoise-orm[asyncpg]>=0.25.0",
"uvicorn>=0.34.0",
]
[dependency-groups]
dev = [
"bandit>=1.8.0",
"black[d]>=26.3.1",
"asyncpg-stubs>=0.29",
"poethepoet>=0.32.0",
"ty>=0.0.18",
"types-pyyaml>=6.0",
"psycopg2-binary>=2.9.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",
"pip>=25.1.1",
"testcontainers[postgres,localstack]>=4.8.1",
"cfn-lint>=1.49.3",
]
[tool.poe.tasks]
dev = "python -m src.main"
depcheck = "deptry . --per-rule-ignores DEP001=cfnlint,DEP004=pytest|cfnlint,DEP002=asyncpg --extend-exclude 'src/cfn/persistence/lambda_code|src/compose/init-scripts'"
format = "black ."
lint = "ruff check"
typecheck = "ty check"
audit-src = "bandit -r src/* -s B101,B105,B106,B310"
audit-packages = "pip-audit --ignore-vuln CVE-2026-3219"
security = ["audit-src", "audit-packages"]
checks = ["depcheck", "format", "lint", "typecheck", "security"]
unit = "pytest -vv src/*"
integration = "pytest -vv tests/*"
cover = "pytest -vv --cov=src src/*"
test = ["unit", "integration"]
review = "claude 'run code-reviewer agent against diff for quality and elegance'"
commit = "bash -c 'uv run poe checks && uv run poe test && uv run poe review && git add -A && git cz && git push'"
[tool.coverage.run]
omit = ["*/test_*.py", "tests/*"]