-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
49 lines (40 loc) · 897 Bytes
/
Copy pathpyproject.toml
File metadata and controls
49 lines (40 loc) · 897 Bytes
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
[project]
name = "sentinel"
version = "0.1.0"
description = "Durable vulnerability-response decisioning for OSS dependencies"
requires-python = ">=3.11"
dependencies = []
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.6",
"mypy>=1.11",
"hypothesis>=6.100",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src --cov-report=term-missing"
[tool.ruff]
line-length = 100
extend-exclude = ["research-notes"]
[tool.ruff.lint]
# Ruff defaults plus isort import sorting.
extend-select = ["I"]
[tool.mypy]
strict = true
mypy_path = "."
packages = ["src", "tools"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.report]
exclude_lines = [
"if __name__ ==",
"def main\\(",
"pragma: no cover",
]