ci: add pre-commit config and fix pre-commit violations#42
Conversation
Adds .pre-commit-config.yaml (mirrors Buffout4's config: clang-format v16, trailing-whitespace, end-of-file-fixer, check-yaml) so pre-commit.ci stops erroring with "error during ci config". Excludes .clang-tidy from check-yaml since it intentionally uses multi-document YAML. Also applies clang-format and trailing-whitespace fixes to the 16 files that were out of compliance (mostly missing final newlines and alignment tweaks). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Warning Review limit reached
More reviews will be available in 47 minutes and 31 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (17)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
.pre-commit-config.yaml(mirrors Buffout4's config: clang-format v16, trailing-whitespace, end-of-file-fixer, check-yaml)pre-commit.ci - push erroron master caused by missing config.clang-tidyfromcheck-yamlsince it uses multi-document YAML intentionallyTest plan
pre-commit.ci - pushgoes green on master after merge🤖 Generated with Claude Code