-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Update pre-commit hooks to latest versions #8693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Signed-off-by: jirka <jirka.borovec@seznam.cz>
📝 WalkthroughWalkthroughUpdated Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (12)
🔇 Additional comments (3)
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request updates three pre-commit hooks to their latest versions and changes the Ruff hook ID to follow current recommendations. The updates ensure the project benefits from the latest bug fixes and features in these code quality tools.
Changes:
- Upgraded
pre-commit-hooksfrom v5.0.0 to v6.0.0 - Upgraded
ruff-pre-commitfrom v0.7.0 to v0.14.11 and changed hook ID fromrufftoruff-check - Upgraded
pyclnfrom v2.5.0 to v2.6.0
Comments suppressed due to low confidence (1)
.pre-commit-config.yaml:40
- An extra blank line has been added here. The file already has a blank line at line 39, so this creates consecutive blank lines which is inconsistent with the rest of the file's formatting. Consider removing this additional blank line.
- repo: https://github.com/asottile/yesqa
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This pull request updates the
.pre-commit-config.yamlfile to use newer versions of several pre-commit hooks, ensuring the codebase benefits from the latest features and bug fixes. It also switches the Ruff hook to a newer recommended id.Pre-commit hook version upgrades:
pre-commit-hooksfromv5.0.0tov6.0.0for improved linting and formatting checks.ruff-pre-commitfromv0.7.0tov0.14.11and changed the hook id fromrufftoruff-checkto align with the latest configuration recommendations.pyclnfromv2.5.0tov2.6.0for more robust import cleaning.