chore(deps-dev): bump ruff from 0.5.7 to 0.12.10 #1307
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.10.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
c68ff8dBump 0.12.10 (#20025)5931a52[ty] Stop running every mdtest twice692be72Move diff rendering toruff_db(#20006)14fe122[ty] Perform assignability etc checks using newConstraintstrait (#19838)045cba3[ty] Usededentin cursor tests (#20019)a5cbca1Fix rust feature activation (#20012)d43a3d3[ty] Avoid unnecessary argument type expansion (#19999)9911196[ty] Add link for namespaces being partial (#20015)859475f[ty] add docstrings to completions based on type (#20008)7b75aee[pyupgrade] Avoid reporting__future__features as unnecessary when they ...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
Update
ruffdependency version inpyproject.tomlto allow versions up to 0.12.10.ruffversion inpyproject.tomlfrom>=0.1.8,<0.6.0to>=0.1.8,<0.13.0.This description was created by
for 0d31010. 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.10, representing a significant jump across multiple major versions. The change modifies the version constraint in
pyproject.tomlfrom>=0.1.8,<0.6.0to>=0.1.8,<0.13.0, allowing the project to use the latest ruff versions while maintaining backward compatibility.The upgrade brings substantial improvements including bug fixes for existing rules (isort I002, pyupgrade UP010/UP045), new preview features for flake8-simplify and flake8-use-pathlib, and enhanced rule behavior. The project uses ruff in multiple contexts: the pre-commit configuration references ruff-pre-commit v0.3.2 with
ci.ruff.tomlfor CI linting, whileruff.tomlprovides local development configuration focused on Google-style docstring enforcement for all files except the auto-generated API directory.This dependency update integrates seamlessly with the existing linting infrastructure, as ruff maintains strong backward compatibility. The project's current ruff configurations will continue to work as expected, with the added benefit of improved rule accuracy and new optional features that can be enabled as needed.
Confidence score: 4/5