Skip to content

Add pre-commit hooks and GitHub Actions CI#1

Merged
whitewalls86 merged 2 commits into
masterfrom
add-pre-commit-hooks
Jun 12, 2026
Merged

Add pre-commit hooks and GitHub Actions CI#1
whitewalls86 merged 2 commits into
masterfrom
add-pre-commit-hooks

Conversation

@whitewalls86

Copy link
Copy Markdown
Owner

Summary

  • Adds .pre-commit-config.yaml with local hooks for ruff check, ruff format --check, mypy src, and pytest
  • Adds .github/workflows/ci.yml running the same four checks on every push and PR
  • Adds pre-commit>=3.0 to dev dependencies

Test plan

  • Pre-commit hooks fire and pass on a local commit
  • CI pipeline passes on this PR

Generated with Claude Code

whitewalls86 and others added 2 commits June 12, 2026 15:37
Runs ruff check, ruff format --check, mypy src, and pytest before
every commit. Install with: pre-commit install

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Runs ruff check, ruff format --check, mypy, and pytest on every push
and pull request.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@whitewalls86
whitewalls86 merged commit a9ce29a into master Jun 12, 2026
2 checks passed
@whitewalls86
whitewalls86 deleted the add-pre-commit-hooks branch June 12, 2026 20:45
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