Skip to content

chore: add pre-commit ruff hook#38

Merged
cnewkirk merged 1 commit into
mainfrom
chore/pre-commit-ruff
Apr 29, 2026
Merged

chore: add pre-commit ruff hook#38
cnewkirk merged 1 commit into
mainfrom
chore/pre-commit-ruff

Conversation

@cnewkirk

Copy link
Copy Markdown
Owner

Summary

  • Adds .pre-commit-config.yaml with the astral-sh/ruff-pre-commit hook (pinned to v0.9.0)
  • Updates CONTRIBUTING.md with an optional pre-commit install setup step

Test plan

  • Verify pre-commit run --all-files passes on a clean checkout
  • Confirm a commit containing a ruff violation is blocked by the hook

🤖 Generated with Claude Code

Adds .pre-commit-config.yaml so contributors get ruff feedback before
pushing. Updates CONTRIBUTING.md with the optional pre-commit install step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cnewkirk
cnewkirk merged commit d4d4f74 into main Apr 29, 2026
12 checks passed
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