chore(deps): update dependency ruff to v0.0.278 #527
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.277
->0.0.278
Release Notes
astral-sh/ruff (ruff)
v0.0.278
Compare Source
See the release blog post for more, including detailed descriptions of any newly added rules.
What's Changed
Rules
pylint
] Implementtypevar-bivariance
(PLC0131
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5517flake8-pyi
] Implementunnecessary-literal-union
(PYI030
) by @zanieb in https://github.com/astral-sh/ruff/pull/5570pylint
] Implementtype-name-incorrect-variance
(PLC0105
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5651ruff
] Implementunnecessary-list-allocation-for-first-element
(RUF015
) by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/5549flake8-bugbear
] Implementre-sub-positional-args
(B034
) by @charliermarsh in https://github.com/astral-sh/ruff/pull/5669ruff
] Implementinvalid-index-type
(RUF016
) by @zanieb in https://github.com/astral-sh/ruff/pull/5602Settings
isort
] Add--case-sensitive
flag by @qdegraaf in https://github.com/astral-sh/ruff/pull/5539isort
] Support globbing inisort
options by @tjkuson in https://github.com/astral-sh/ruff/pull/5473Bug Fixes
str.format
calls by @harupy in https://github.com/astral-sh/ruff/pull/5638unnecessary-map
(C417
) for late-bound lambdas by @charliermarsh in https://github.com/astral-sh/ruff/pull/5520.astimezone()
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5524noqa
directive parsing away from regex-based implementation by @charliermarsh in https://github.com/astral-sh/ruff/pull/5554# noqa
directives by @charliermarsh in https://github.com/astral-sh/ruff/pull/5571# flake8: noqa
directives by @charliermarsh in https://github.com/astral-sh/ruff/pull/5618tkinter
import convention by @tjkuson in https://github.com/astral-sh/ruff/pull/5626PERF401
if conditional depends on list var by @dhruvmanila in https://github.com/astral-sh/ruff/pull/5603raise
throws a caught exception by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/5455Union
declarations without|
to PYI016 by @zanieb in https://github.com/astral-sh/ruff/pull/5598_name_
and_value_
accesses inflake8-self
rules by @monosans in https://github.com/astral-sh/ruff/pull/5663repeated_keys()
to useComparableExpr
by @qdegraaf in https://github.com/astral-sh/ruff/pull/5696New Contributors
Full Changelog: astral-sh/ruff@v0.0.277...v0.0.278
Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.