Skip to content

ci: enforce ruff format; ignore reformat commit in git blame - #27

Merged
mjstealey merged 1 commit into
mainfrom
format-guards
Nov 3, 2026
Merged

mjstealey merged 1 commit into
mainfrom
format-guards

Conversation

@mjstealey

Copy link
Copy Markdown
Member

Summary

Follow-up to #26.

  • uv run ruff format --check . added to the CI lint job and to the release build job, so unformatted code fails CI and cannot be published.
  • .git-blame-ignore-revs lists 76f2fc5 (the formatting-only commit). GitHub's blame view honours it automatically; locally run git config blame.ignoreRevsFile .git-blame-ignore-revs.
  • README lint section now documents uv run ruff format ..

Test plan

  • uv run ruff format --check . — 24 files already formatted
  • uv run ruff check .
  • actionlint on both workflows
  • CI green

🤖 Generated with Claude Code

- ruff format --check in the CI lint job and the release build
- .git-blame-ignore-revs lists the formatting-only commit 76f2fc5
- README lint section documents ruff format

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mjstealey
mjstealey merged commit 01c30e2 into main Nov 3, 2026
12 checks passed
@mjstealey
mjstealey deleted the format-guards branch November 3, 2026 15:16
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.

1 participant