chore(deps-dev): bump ruff from 0.15.22 to 0.16.0 - #43
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.22 to 0.16.0. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.15.22...0.16.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
Pull Request Overview
This PR updates the ruff development dependency to version 0.16.0. While the dependency update is technically correct, this version introduces a substantial shift in default linting behavior, including 354 additional rules enabled by default and mandatory Markdown code block formatting.
Because the PR does not include the necessary code adjustments to comply with these new rules, merging this as-is is likely to break existing CI pipelines. It is recommended to run the linter locally and address the resulting violations before proceeding with this update.
About this PR
- The updated linter version enables over 350 new rules by default and enforces new Markdown formatting. This PR only updates the dependency without addressing the likely resulting linting failures in the codebase, which will likely cause CI to fail. Please run
ruff check .andruff format .locally to assess and fix the impact.
Test suggestions
- Validate the codebase against the 354 additional linting rules enabled by default in 0.16.0.
- Verify that Markdown files and their contained Python code blocks are formatted correctly under the new default behavior.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Validate the codebase against the 354 additional linting rules enabled by default in 0.16.0.
2. Verify that Markdown files and their contained Python code blocks are formatted correctly under the new default behavior.
TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback
Bumps ruff from 0.15.22 to 0.16.0.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
a2635fdBump 0.16.0 (#27136)3433449[ty] Reuse full call diagnostics for implicit setter calls (#27115)2240070Reflectruff: ignoreand--add-ignorestabilization in documentation (#27...17ef711Stabilize--add-ignore(#27125)ef912bbAdd newly stabilized rules to defaults (#27055)b30f040Stabilize new default rules (#27035)bcd70c5Exclude Markdown files fromformat-devruns (#27052)87e51e2Fixformat --checkspans for syntax errors (#27045)afe2723[flake8-gettext] Stabilize qualified-name and built-in binding resolution (...a9702d8[flake8-bandit] Stabilize string literal binding resolution (S310) (#26944)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)