-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (55 loc) · 1.27 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (55 loc) · 1.27 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "contextsafe"
version = "0.1.0"
description = "Offline synthetic fixture validator and deterministic evaluator"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []
[project.scripts]
contextsafe = "contextsafe.cli:main"
[dependency-groups]
dev = [
"coverage>=7.10",
"hypothesis>=6.100",
"jsonschema>=4.23",
"mypy>=1.18",
"pip-audit>=2.9",
"pytest>=8.0",
"pytest-cov>=6.0",
"ruff>=0.15.0",
]
[tool.hatch.build.targets.wheel]
packages = ["src/contextsafe"]
[tool.ruff]
line-length = 88
target-version = "py312"
[tool.ruff.lint]
select = ["E", "W", "F", "I", "UP", "B", "SIM", "S", "C90", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S603"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.format]
quote-style = "double"
[tool.mypy]
strict = true
warn_return_any = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests"]
addopts = "-ra --strict-markers --strict-config --import-mode=importlib"
markers = [
"smoke: critical end-to-end path",
]
[tool.coverage.run]
branch = true
source = ["contextsafe"]
[tool.coverage.report]
fail_under = 90
show_missing = true
skip_covered = true