ci: clear the ruff baseline ignores in the backup-drill template #780

Stängd
öppnade 2026-10-18 11:23:20 +00:00 av supernaut · 0 kommentarer
Ägare

scripts/lint-rendered-templates.py (#777) lints the rendered bitborg-backup-drill.py.j2 with ruff, but ignores six style rules for that file through PY_BASELINE_IGNORE: E501, RUF005, S607, SIM105, SIM401 and UP031. That covers 84 findings, none of them correctness bugs.

Fix the findings in the template and empty PY_BASELINE_IGNORE, so the file is gated by the full rule set like every other script.

Done when PY_BASELINE_IGNORE is gone and the lint passes. Run one backup drill after the change is applied.

`scripts/lint-rendered-templates.py` (#777) lints the rendered `bitborg-backup-drill.py.j2` with ruff, but ignores six style rules for that file through `PY_BASELINE_IGNORE`: E501, RUF005, S607, SIM105, SIM401 and UP031. That covers 84 findings, none of them correctness bugs. Fix the findings in the template and empty `PY_BASELINE_IGNORE`, so the file is gated by the full rule set like every other script. Done when `PY_BASELINE_IGNORE` is gone and the lint passes. Run one backup drill after the change is applied.
Logga in för att delta i denna konversation.
Ingen milstolpe
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra#780
Ingen beskrivning angiven.