Skip to content

Add prek with formatting hooks, replace ruff workflow#14

Merged
marksverdhei merged 1 commit intomainfrom
add-prek
Mar 12, 2026
Merged

Add prek with formatting hooks, replace ruff workflow#14
marksverdhei merged 1 commit intomainfrom
add-prek

Conversation

@marksverdhei
Copy link
Copy Markdown
Owner

Summary

  • Add prek.toml with builtin hooks (trailing whitespace, end-of-file fixer, check-yaml, check-toml, check-merge-conflict, check-added-large-files) and ruff (check + format)
  • Add prek CI workflow (prek.yml), remove standalone ruff workflow (ruff.yml)
  • Fix formatting issues found by prek across the codebase (trailing whitespace, missing EOF newlines, blank lines)

Fixes #1

Test plan

  • prek run --all-files passes locally
  • uv run pytest -vv passes locally
  • CI prek workflow passes
  • CI pytest workflow passes

🤖 Generated with Claude Code

- Add prek.toml with builtin hooks (trailing whitespace, end-of-file fixer,
  check-yaml, check-toml, check-merge-conflict, check-added-large-files)
  and ruff (check + format)
- Add prek CI workflow, remove standalone ruff workflow
- Fix formatting issues found by prek (trailing whitespace, missing EOFs,
  blank lines)

Fixes #1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@marksverdhei marksverdhei merged commit 1640782 into main Mar 12, 2026
2 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.

Add prek with appropriate formatting for eof, yaml, md, etc.

1 participant