kuri-tool-guard/pyproject.toml

33 lines
1 KiB
TOML

[project]
name = "kuri-tool-guard"
version = "0.3.0"
description = "High-friction host-side policy guard for eleven categories: home-root search, terminal file patterns, existing-file writes, memory patches, GitHub web access, consecutive process polls, cron/jobs.json lockdown, terminal home-root operands, execute_code per-call protection, bounded-output terminal commands, and skill directory lockdown."
requires-python = ">=3.12"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["I", "E", "F", "W", "N", "UP", "B", "SIM", "PL", "RUF"]
ignore = [
"N999", # Plugin dir names use hyphens
"PLR2004", # Magic-value comparison fine in tests
]
exclude = [".venv", "dist", "__pycache__", ".vulture_whitelist.py"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.bandit]
targets = ["__init__.py", "_state.py", "_parser.py", "_predicates.py", "_guards.py", "tests/"]
skips = ["B101"] # allow assert
[dependency-groups]
dev = [
"ruff>=0.6.0",
"pytest>=8.0",
"ty>=0.0.49",
"bandit>=1.7",
"vulture>=2.7",
"pyyaml>=6.0",
]