-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (45 loc) · 1.19 KB
/
Copy pathpyproject.toml
File metadata and controls
53 lines (45 loc) · 1.19 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
[build-system]
requires = ["hatchling==1.27.0"]
build-backend = "hatchling.build"
[project]
name = "secure-gitops-supply-chain"
version = "0.1.0"
description = "Reference application for a secure GitOps supply-chain portfolio"
requires-python = ">=3.12,<3.14"
dependencies = [
"alembic==1.16.4",
"fastapi==0.141.1",
"prometheus-client==0.22.1",
"psycopg[binary]==3.2.9",
"pydantic-settings==2.10.1",
"sqlalchemy==2.0.43",
"starlette==1.4.1",
"uvicorn[standard]==0.35.0",
]
[dependency-groups]
dev = [
"httpx==0.28.1",
"mypy==1.17.1",
"pytest==8.4.1",
"pytest-cov==6.2.1",
"ruff==0.12.7",
]
[tool.hatch.build.targets.wheel]
packages = ["app/api/src/secure_supply_chain"]
[tool.pytest.ini_options]
addopts = "-s --strict-markers --cov=secure_supply_chain --cov-report=term-missing --cov-fail-under=85"
testpaths = ["app/api/tests"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "S", "ASYNC"]
[tool.ruff.lint.per-file-ignores]
"app/api/tests/*" = ["S101"]
"app/api/migrations/*" = ["E501"]
[tool.mypy]
python_version = "3.12"
strict = true
packages = ["secure_supply_chain"]
mypy_path = "app/api/src"
plugins = ["pydantic.mypy"]