forked from ChelseaKR/obligation-receipts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (64 loc) · 1.61 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (64 loc) · 1.61 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
66
67
68
69
70
71
72
73
74
75
76
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "obligation-receipts"
version = "0.1.0"
description = "Turn approved acceptance obligations into deterministic evidence receipts."
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
authors = [{ name = "Chelsea Kelly-Reif" }]
keywords = ["acceptance-testing", "procurement", "evidence", "provenance", "public-interest"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Quality Assurance",
]
dependencies = []
[dependency-groups]
dev = [
"mypy>=1.18",
"pytest>=8",
"pytest-cov>=5",
"ruff>=0.15",
]
[project.scripts]
obligation-receipts = "obligation_receipts.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/obligation_receipts"]
[tool.ruff]
line-length = 100
src = ["src", "tests"]
target-version = "py312"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM", "S", "C90", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101"]
[tool.mypy]
python_version = "3.12"
strict = true
files = ["src", "tests", "scripts"]
[tool.pytest.ini_options]
minversion = "8"
testpaths = ["tests"]
addopts = """
-q \
--strict-markers \
--strict-config \
--import-mode=importlib \
--cov=obligation_receipts \
--cov-branch \
--cov-report=term-missing \
--cov-fail-under=90
"""
[tool.coverage.run]
source = ["obligation_receipts"]
branch = true
[tool.coverage.report]
fail_under = 90
show_missing = true