build(deps): bump ruff from 0.15.20 to 0.16.3 - #79
Conversation
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
b91513a to
f851178
Compare
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.15.20 to 0.16.3. - [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.3) --- 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>
f851178 to
f7ad78e
Compare
|
Superseded by #94. |
Bumps ruff from 0.15.20 to 0.16.3.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
b0e4702Bump 0.16.3 (#27723)ecdd401[ty] Separate script and uv modules from project metadata (#27720)1263524[ty] Simplify display implementations with std::fmt::from_fn (#27718)59196ba[ty] Unify polarity-aware relation construction (#27707)b8c5e73[ty] Disable CodSpeed cycle estimation for instrumented benchmarks (#27706)2b0d210[ty] Centralize matched argument relations (#27705)a9130f3[pyupgrade] Add rule to replacewhile 1withwhile True(while-one, `...c64c7d6[ty] Model try exception flow with operation checkpoints (#27471)9dea5ef[ty] Avoid deriving sequents for typevars with concrete bounds (#27587)9798e88[ty] Preserve enum exhaustiveness with custom missing methods (#27700)