chore(deps-dev): bump ruff from 0.5.7 to 0.12.9 #1298
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps ruff from 0.5.7 to 0.12.9.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
ef42246Bump 0.12.9 (#19917)dc2e8ab[ty] supportkw_only=Truefordataclass()andfield()(#19677)9aaa82dFeature/build riscv64 bin (#19819)3288ac2[ty] Add caching toCodeGeneratorKind::matches()(#19912)1167ed6[ty] RenamefunctionArgumentNamestocallArgumentNamesinlay hint setting...2ee47d8[ty] Defaultty.inlayHints.*server settings to true (#19910)d324ced[ty] Remove py-fuzzer skips for seeds that are no longer slow (#19906)5a570c8[ty] fix deferred name loading in PEP695 generic classes/functions (#19888)baadb5a[ty] Add some additional type safety toCycleDetector(#19903)df0648a[flake8-blind-except] FixBLE001false-positive onraise ... from None...You can trigger a rebase of this PR 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@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)Important
Bump
ruffversion inpyproject.tomlto>=0.1.8,<0.13.0with new features, bug fixes, and rule changes.ruffversion inpyproject.tomlfrom>=0.1.8,<0.6.0to>=0.1.8,<0.13.0.airflow.secrets.cache.SecretCache(AIR301).RUF064).BLE001false-positive onraise ... from None.C420with attribute, subscript, or slice assignment targets.SIM905).PLE2513).riscv64binaries for release.This description was created by
for 222d093. You can customize this summary. It will automatically update as commits are pushed.
Disclaimer: Experimental PR review
Greptile Summary
This PR updates the Ruff linter dependency from version 0.5.7 to 0.12.9 in the
pyproject.tomlfile. This is a significant version jump spanning 7 major versions (0.6.x through 0.12.x), bringing numerous bug fixes, performance improvements, new linting rules, and enhancements to the code formatter and linter.The change modifies the version constraint from
>=0.1.8,<0.6.0to>=0.1.8,<0.13.0, allowing the project to use the latest Ruff version while preventing automatic updates to the next major version (0.13.x). This approach provides flexibility for receiving patch and minor version updates while maintaining stability.The project's existing Ruff configuration is minimal and conservative, which reduces the risk of this update causing issues. The
ruff.tomlfile only enables docstring rules (DandD401) for local development and excludes API files, while the CI configuration (ci.ruff.toml) likely has even fewer rules enabled. The.pre-commit-config.yamlshows the project uses Ruff version 0.3.2 in pre-commit hooks, which is separate from the main dependency.This upgrade brings the project up to date with the latest linting capabilities, bug fixes, and performance improvements. Since the project uses a conservative rule selection approach, most new rules introduced in the intervening versions won't affect the codebase unless explicitly enabled in the configuration files.
Confidence score: 4/5