Files
Kamino/ruff.toml
T
Defame1297andClaude Sonnet 5.5 557f573df2 ci(lint): add ruff and shellcheck hooks
Add ruff-check and ruff-format from astral-sh/ruff-pre-commit and shellcheck from
shellcheck-py, with ruff.toml at ruff's defaults plus C901, PLR0912 and PLR0915
(#112). ruff.toml is repository tooling, so it joins galaxy.yml build_ignore.

The existing scripts are formatted and fixed in the commits that follow.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
2026-11-14 13:20:06 +00:00

8 lines
381 B
TOML

# Ruff configuration for the Python under scripts/ and tests/scripts/ (#112).
# Ruff's defaults (pycodestyle E4/E7/E9 and pyflakes F) plus the complexity and function-size
# rules, all at their default thresholds. Do not tune a threshold or ignore a rule globally:
# suppress a finding inline with its rule code and a reason.
[lint]
extend-select = ["C901", "PLR0912", "PLR0915"]