33 lines
721 B
TOML
33 lines
721 B
TOML
[project]
|
|
name = "kuri-skill-gate"
|
|
version = "0.4.0"
|
|
description = "Blocks gated tools until their required safety skills are read successfully"
|
|
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__"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
pythonpath = ["."]
|
|
|
|
[tool.bandit]
|
|
targets = ["__init__.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",
|
|
]
|