Skip to content

Fix CI: ruff format oom_dedup.py + document ruff format --check#137

Merged
devdanzin merged 1 commit into
mainfrom
fix-ci-ruff-format
Jun 23, 2026
Merged

Fix CI: ruff format oom_dedup.py + document ruff format --check#137
devdanzin merged 1 commit into
mainfrom
fix-ci-ruff-format

Conversation

@devdanzin

Copy link
Copy Markdown
Owner

Closes #136.

CI's ruff format --check step has been red since the first oom_dedup.py edit — the file was lint-clean but not format-clean, and only ruff check was run locally. The reformat is purely cosmetic (ruff collapsing/exploding multi-arg calls in the recently-added _cap_lines / classify / load_snapshot code); behavior unchanged and the oom_dedup suite stays green (52 tests).

  • ruff format fusil/python/oom_dedup.py → whole tree format-clean (106 files).
  • CLAUDE.md: document that CI runs both ruff check and ruff format --check, so both must pass before pushing.

Verified locally (ruff 0.15.18, the CI pin): ruff check ✓, ruff format --check ✓ (106 files already formatted), full suite 326 passed / 32 skipped.

🤖 Generated with Claude Code

CI's "Ruff (format check)" step (`ruff format --check`, ruff 0.15.18) has been
red since the first oom_dedup edit: that file was lint-clean (`ruff check` passes)
but not format-clean, and I only ran `ruff check` locally. The diff is purely
cosmetic (ruff collapsing/exploding multi-arg calls in the recently-added
_cap_lines / classify / load_snapshot code) -- no behavior change; the oom_dedup
suite stays green.

- `ruff format fusil/python/oom_dedup.py` -> whole tree now format-clean (106 files).
- CLAUDE.md: note CI runs BOTH `ruff check` AND `ruff format --check`, so both
  must be run before pushing (`ruff check` passing does not imply format-clean).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@devdanzin devdanzin merged commit 9c8d83d into main Jun 23, 2026
2 checks passed
@devdanzin devdanzin deleted the fix-ci-ruff-format branch June 23, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI red: ruff format --check fails on fusil/python/oom_dedup.py

1 participant