⬆️ Update dependency ruff to v0.0.262 #995
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.261->0.0.262Release Notes
charliermarsh/ruff
v0.0.262Compare Source
What's Changed
Configuration
includeby @charliermarsh in https://github.com/charliermarsh/ruff/pull/3914Rules
flake8-simplify] Add autofix forcontextlib.suppress(SIM105) by @leiserfg in https://github.com/charliermarsh/ruff/pull/3915flake8-bandit] Ignore assert errors (S101) inTYPE_CHECKINGblocks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3960flake8-comprehensions] Implementunnecessary-literal-within-dict-call(C418) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3969ruff] Add checks for mutable defaultsdataclasses by @mosauter in https://github.com/charliermarsh/ruff/pull/3877flake8-import-conventions] Add a rule forBannedImportAliasby @stancld in https://github.com/charliermarsh/ruff/pull/3926flake8-pyi] Implement duplicate types in unions (PYI016) by @USER-5 in https://github.com/charliermarsh/ruff/pull/3922flake8-bandit] Implement flake8-bandit shell injection rules by @robyoung in https://github.com/charliermarsh/ruff/pull/3924flake8-comprehensions] RedirectPIE802toC419by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3971Bug Fixes
E712message by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3962RET504by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4004PLW2901when using typing cast by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3891@overridemethods by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3912C414by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3916*argspresent forF523by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3923pyright: ignorecomments by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3941pygrep-hooksrules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3942typing_extensions.TypeVarassignments in.pyifiles by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3951UP031) for hanging modulos by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3953PT006by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3955E731by @dhruvmanila in https://github.com/charliermarsh/ruff/pull/3983SIM112) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/3988banned-apirules by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4024banned-apienforcement by @charliermarsh in https://github.com/charliermarsh/ruff/pull/4025New Contributors
Full Changelog: astral-sh/ruff@v0.0.261...v0.0.262
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.