-
Notifications
You must be signed in to change notification settings - Fork 11
chore(deps): update dependency ruff to v0.14.11 #904
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
chore(deps): update dependency ruff to v0.14.11 #904
Conversation
Change-Id: I3ce2c054209f04fcc201122c22fd244b1840dc7c
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🟢 🤖 Continuous IntegrationWonderful, this rule succeeded.
🟢 👀 Review RequirementsWonderful, this rule succeeded.
🟢 Enforce conventional commitWonderful, this rule succeeded.Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
🟢 🔎 ReviewsWonderful, this rule succeeded.
🟢 📕 PR descriptionWonderful, this rule succeeded.
|
🧪 CI InsightsHere's what we observed from your CI run for 9a8884e. 🟢 All jobs passed!But CI Insights is watching 👀 |
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 PR updates the ruff linting tool from version 0.14.9 to 0.14.11 and includes code improvements that align with ruff's recommendations.
Changes:
- Updated ruff dependency from 0.14.9 to 0.14.11
- Refactored file I/O operations to use simpler
Path.write_text()andPath.read_text()methods - Improved exception handling by adding proper exception chaining
- Reorganized module structure by extracting global variables into a dedicated
_globals.pymodule
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Updated ruff package version, hashes, and wheel URLs from 0.14.9 to 0.14.11 |
| pyproject.toml | Updated ruff dependency specification from 0.14.9 to 0.14.11 |
| mergify_cli/ci/scopes/cli.py | Simplified file I/O operations and added exception chaining |
| mergify_cli/_globals.py | New module containing extracted global variables (console and VERSION) |
| mergify_cli/init.py | Refactored to re-export console and VERSION from _globals module |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merge Queue Status✅ The pull request has been merged at 9a8884e This pull request spent 1 minute 44 seconds in the queue, including 1 minute 31 seconds running CI. Required conditions to merge
|
This fixes a few new issues spotted by ruff. That's it!