build(deps): bump ruff from 0.15.20 to 0.16.0 - #79
Conversation
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.20 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.20...0.16.0) --- updated-dependencies: - dependency-name: ruff dependency-version: 0.16.0 dependency-type: direct:production 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 linter to version 0.16.0 and regenerates the corresponding lock files. Although the changes meet the basic requirements of a dependency bump, there is a high risk of CI failure upon merging.
Ruff 0.16.0 introduces a major change by expanding the default rule set from 59 to 413 rules. As this PR does not include updates to the configuration files (ruff.toml or pyproject.toml) to ignore or reconcile these ~350 new rules, the codebase will likely trigger numerous linting errors in subsequent CI runs. Furthermore, the lock file updates include transitive dependency changes that are not documented in the PR description. A thorough verification against the new linting and formatting defaults is necessary before this can be safely merged.
About this PR
- The update to the linter version introduces a significant expansion of the default rule set (from 59 to 413 rules). No configuration updates were included to address these new rules, which will likely cause CI failures due to the sudden enforcement of ~350 additional linting checks.
Test suggestions
- Verify Ruff version update in CI and Codacy requirements files.
- Verify that the codebase is compatible with the new rules enabled by default in the updated linter.
- Verify that Python code blocks in Markdown files are formatted correctly by the new default behavior.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify that the codebase is compatible with the new rules enabled by default in the updated linter.
2. Verify that Python code blocks in Markdown files are formatted correctly by 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.20 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)