mirror of
https://github.com/Sea-Haven-Industries/security-review.git
synced 2026-10-01 03:53:15 +00:00
CI has been red repo-wide: the latest ruff wants to reformat the intentionally-vulnerable canary fixtures (whose line numbers are keyed in canary-meta/KEY.md), and pytest --collect-only exits 5 with zero tests. Exclude canary/ via ruff.toml and add a root-level import smoke test so collection is non-empty and imports cross_review.py.
4 lines
254 B
TOML
4 lines
254 B
TOML
# canary/ is the intentionally-vulnerable scanner-recall corpus: it must stay
|
|
# byte-stable (canary-meta/KEY.md keys findings to its line numbers) and linting
|
|
# deliberately-bad code is meaningless, so ruff skips it entirely.
|
|
extend-exclude = ["canary"]
|