-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (65 loc) · 1.74 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "repomedic"
version = "0.7.3"
description = "Agent-first repo bug sniffer — diagnose issues in folders and repos, hand the fixes to a coding agent"
requires-python = ">=3.11"
dependencies = [
"typer>=0.9",
"click>=8,<9",
"pydantic>=2.0",
"rich>=13.0",
"pyyaml>=6.0",
# Floor at 4.25 (not 4.26): semgrep pins jsonschema~=4.25.1, and a 4.26
# floor forces pip to backtrack to ancient semgrep releases with
# vulnerable transitive dependencies.
"jsonschema>=4.25,<5",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"ruff>=0.4",
"mypy>=1.10",
"debugpy>=1.8.21,<2",
"pytest-cov>=7.1,<8",
]
# Optional analysis tools that unlock deeper findings
tools = [
"semgrep>=1.0",
"bandit>=1.7",
]
# MCP server for agent harnesses (`repomedic mcp`)
mcp = [
"mcp>=1.23,<2", # 1.23.0 fixes PYSEC-2026-1617
]
# Headless Python debugger capture (`repomedic debug` and VS Code integration)
debug = [
"debugpy>=1.8.21,<2",
]
[project.scripts]
repomedic = "repomedic.cli:app"
[tool.hatch.build.targets.wheel]
packages = ["src/repomedic"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"corpus: ground-truth validation corpus cases",
"adversarial: security and untrusted-input regression cases",
"toolchain: corpus cases that require external analysis toolchains",
]
[tool.ruff]
target-version = "py311"
extend-exclude = ["tests/fixtures", "vv/corpus"]
[tool.mypy]
python_version = "3.11"
ignore_missing_imports = true
check_untyped_defs = true
exclude = ["^vv/corpus/"]
[tool.coverage.run]
branch = true
source = ["repomedic"]
[tool.coverage.report]
show_missing = true
skip_covered = true