aacr-bench-harbor / pyproject.toml
osolmaz's picture
osolmaz HF Staff
fix(artifacts): attest sessions after Harbor finalization (#1)
5fe5b02
Raw
History Blame Contribute Delete
1.94 kB
[project]
name = "aacr-bench-harbor"
version = "0.1.0"
description = "Harbor-native AACR-Bench adapter and review runners"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "Onur Solmaz", email = "2453968+osolmaz@users.noreply.github.com" },
]
requires-python = ">=3.12"
dependencies = []
[project.scripts]
aacr-bench = "aacr_bench_harbor.cli:main"
aacr-finalize-sessions = "aacr_bench_harbor.session_finalize_cli:main"
aacr-harbor-run = "aacr_bench_harbor.harbor_run:main"
aacr-source-pack = "aacr_bench_harbor.source_pack_cli:main"
[build-system]
requires = ["uv_build>=0.8.0,<0.9.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"harbor[hf-sandbox]==0.21.0",
"huggingface-hub==1.22.0",
"mypy==1.17.1",
"mutmut==3.3.1",
"pip-audit==2.9.0",
"pytest==9.0.3",
"pytest-cov==6.2.1",
"ruff==0.12.8",
"slophammer-py==0.4.0",
]
[tool.uv.build-backend]
module-name = "aacr_bench_harbor"
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["A", "ANN", "B", "C4", "C90", "E", "F", "I", "N", "PTH", "RUF", "S", "SIM", "TID", "UP"]
ignore = ["S603", "S607"]
[tool.ruff.lint.mccabe]
max-complexity = 8
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S108"]
"agents/**" = ["E402", "I001", "S108"]
[tool.mypy]
python_version = "3.12"
strict = true
files = ["src", "tests"]
exclude = "^(agents|datasets|jobs)/"
# Harbor does not publish a py.typed marker; agent behavior is checked by integration tests.
[[tool.mypy.overrides]]
module = ["agents", "agents.*"]
follow_imports = "skip"
[tool.mutmut]
paths_to_mutate = ["src/aacr_bench_harbor/schema.py", "src/aacr_bench_harbor/codex_output.py"]
tests_dir = ["tests/"]
[tool.pytest.ini_options]
addopts = "--strict-config --strict-markers"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["aacr_bench_harbor"]
[tool.coverage.report]
fail_under = 85
show_missing = true
skip_covered = true