chore(deps-dev): bump ruff from 0.5.7 to 0.12.7 #1277
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.7.
Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
c5ac998
Bump 0.12.7 (#19627)04a8f64
Revertlicense
andlicense-files
changes inpyproject.toml
(#19624)6e00adf
Bump 0.12.6 (#19622)864196b
AddChecker::context
method, deduplicate Unicode checks (#19609)ae26fa0
[flake8-pyi
] Preserve inline comment in ellipsis removal (PYI013
) (#19399)88a6799
[ty] Add flow diagram for import resolution941be52
[ty] Add comments to some core resolver functions13624ce
[ty] Add missing ticks and use consistent quotingedb2f8e
[ty] Reflow some long lines5e6ad84
[ty] Unexport helper functionYou 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Important
Bump
ruff
version from0.5.7
to0.12.7
inpyproject.toml
for new features and bug fixes.ruff
version from0.5.7
to0.12.7
inpyproject.toml
.ruff
.This description was created by
for f25452a. 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.7, representing a significant major version upgrade spanning approximately 7 major versions. The change modifies the version constraint in
pyproject.toml
from>=0.1.8,<0.6.0
to>=0.1.8,<0.13.0
, allowing Poetry to install the newer version.Ruff is a Python linter and code formatter that enforces coding standards. In this codebase, Ruff is configured with specific rules focusing on docstring conventions - particularly enforcing Google-style docstrings (
convention = "google"
) and imperative mood docstrings (D401
). The configuration also excludes all files in thelangfuse/api/
directory from linting, likely because this directory contains auto-generated API client code.The upgrade brings numerous improvements including bug fixes, performance enhancements, new preview features, and rule changes. Notable improvements include better handling of
.pyi
files, fixes for various linting rules likePERF401
,UP030
, andRUF033
, and enhanced support for type parameter lists in comma checks. The upgrade maintains backward compatibility for the specific rules this codebase uses (docstring-related D rules).Confidence score: 3/5
pyproject.toml
file needs careful verification to ensure the version constraint change doesn't conflict with other dependencies