-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
73 lines (62 loc) · 1.63 KB
/
Copy pathpyproject.toml
File metadata and controls
73 lines (62 loc) · 1.63 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
[build-system]
requires = ["hatchling==1.31.0"]
build-backend = "hatchling.build"
[project]
name = "semantic-diff-weaver"
version = "0.1.0"
description = "Read-only semantic Git diff analysis and risk-ranked test obligations for Hermes Agent."
readme = "README.md"
requires-python = ">=3.11"
authors = [{ name = "Semantic Diff Weaver contributors" }]
license = "MIT"
license-files = ["LICENSE"]
dependencies = [
"pydantic>=2.10,<3",
"PyYAML>=6.0.2,<7",
]
[project.entry-points."hermes_agent.plugins"]
semantic-diff-weaver = "semantic_diff_weaver.plugin"
[tool.hatch.build.targets.wheel]
packages = ["semantic_diff_weaver"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.coverage",
"/.pytest_cache",
"/.pytest_tmp",
"/.venv",
"/dist",
"/tests",
]
[tool.pytest.ini_options]
addopts = "--strict-config --strict-markers"
testpaths = ["tests"]
timeout = 30
markers = [
"performance: bounded performance regression tests",
]
[tool.coverage.run]
branch = true
source = ["semantic_diff_weaver"]
[tool.coverage.report]
fail_under = 85
show_missing = true
skip_covered = true
[tool.ruff]
target-version = "py311"
line-length = 100
extend-exclude = [".venv", ".pytest_tmp", "dist", "tests/fixtures/repositories"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "PTH", "RUF"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101", "PLR2004"]
[tool.mypy]
python_version = "3.11"
files = ["semantic_diff_weaver"]
explicit_package_bases = true
check_untyped_defs = true
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
disable_error_code = ["import-untyped"]