-
Notifications
You must be signed in to change notification settings - Fork 847
Expand file tree
/
Copy pathruff.toml
More file actions
18 lines (15 loc) · 851 Bytes
/
Copy pathruff.toml
File metadata and controls
18 lines (15 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Vendored upstream repos used as parser-conformance corpora — not our code.
extend-exclude = ["tests/parse_conformance/corpus", "tests/parse_conformance/runs"]
[lint]
# ruff 0.16 dropped E4/E7/E9 from the default rule set; keep them enabled since
# the repo relied on them (e.g. the `noqa: E402` suppressions in the evals).
extend-select = ["E4", "E7", "E9"]
# Every `except Exception` in this repo is a deliberate resilience boundary that
# logs and continues: per-file extraction failure isolation, batch cleanup,
# best-effort git metadata, markdown fallback, loadtest measurement. Narrowing
# them would turn an unanticipated error into an aborted run instead of a
# recorded FAILED entry. S110/S112 stay enabled, so a silently swallowed
# exception is still caught.
ignore = ["BLE001"]
[format]
exclude = ["explainshell/help_constants.py"]