-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (57 loc) · 1.67 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (57 loc) · 1.67 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
[project]
name = "ems-analyst-server"
version = "1.0.0-beta"
requires-python = "==3.13.2"
dependencies = [
"asyncpg>=0.31.0",
"classy-fastapi>=0.6.1",
"ems-analyst-agent",
"fastapi>=0.116.1",
"httpx>=0.28.1",
"idna>=3.15",
"pydantic>=2.11.7",
"pydantic-ai>=1.97.0",
"pydantic-settings>=2.6.0",
"pyyaml>=6.0.2",
"uvicorn>=0.34.0",
]
[tool.uv.sources]
ems-analyst-agent = { git = "https://gitlab.com/arcnode-io/ems-analyst-agent.git" }
[dependency-groups]
dev = [
"asyncpg-stubs>=0.31.2",
"bandit>=1.8.0",
"black[d]>=26.3.1",
"deptry>=0.23.0",
"pip>=25.1.1",
"pip-audit>=2.6.1",
"poethepoet>=0.32.0",
"pook>=1.4.0",
"pytest>=8.3.4",
"pytest-asyncio>=0.24.0",
"pytest-cov>=6.0.0",
"ruff>=0.8.4",
"testcontainers[postgres]>=4.14.2",
"ty>=0.0.18",
"types-pyyaml>=6.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 --ignore-vuln CVE-2026-3219 --ignore-vuln CVE-2026-45409 --ignore-vuln PYSEC-2025-183"
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.deptry.per_rule_ignores]
DEP002 = ["idna"]
DEP004 = ["pytest", "testcontainers", "pytest_asyncio"]
[tool.coverage.run]
omit = ["*/test_*.py", "tests/*"]