⬆️ Update dependency ruff to v0.0.260 #978
Merged
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.








This PR contains the following updates:
0.0.259->0.0.260Release Notes
charliermarsh/ruff
v0.0.260Compare Source
What's Changed
Rules
flake8-bugbear] Add more immutable functions forB008by @rouge8 in https://github.com/charliermarsh/ruff/pull/3764flake8-bugbear] Allowpathlib.Path()inB008by @rouge8 in https://github.com/charliermarsh/ruff/pull/3794flake8-bugbear] Expand the scope of useless-expression (B018) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3455flake8-bugbear]: Implement ruleB031by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3680flake8-gettext] Implementflake8-gettextby @leiserfg in https://github.com/charliermarsh/ruff/pull/3785flake8-logging-format] Add support for.log(level, msg)calls inflake8-logging-formatby @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3726flake8-logging-format] Allow aliasedloggingmodule as a logger candidate by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3718flake8-pyi] Add autofix forPYI014by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3729flake8-pyi] ImplementPYI012by @JBLDKY in https://github.com/charliermarsh/ruff/pull/3743flake8-pyi] ImplementPYI015by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3728flake8-simplify] Fix SIM222 and SIM223 false negative by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3740isort]: support submodules in known_(first|third)_party config options by @astaric in https://github.com/charliermarsh/ruff/pull/3768pycodestyle] Use unicode-width to determine line-length instead of character count by @MichaReiser in https://github.com/charliermarsh/ruff/pull/3714pydocstyle] Implement autofix forD403by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3731pylint] Avoiduseless-import alias(C0414) in.pyifiles by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3761pylint] ExemptPLR1711andRET501if non-Noneannotation by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3705tryceratops] Exempt return with side effects for TRY300 by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3780Bug Fixes
ForwardRefcontents as type references by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3698withstatements in complexity calculation by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3771pep8-namingimport rules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3772TID252to fix all valid module paths by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/3796wild::args()and addwildas a dependency by @agriyakhetarpal in https://github.com/charliermarsh/ruff/pull/3739New Contributors
Full Changelog: astral-sh/ruff@v0.0.259...v0.0.260
Configuration
📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.