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.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
include
by @charliermarsh in Allow users to extend the set of included files viainclude
astral-sh/ruff#3914Rules
flake8-simplify
] Add autofix forcontextlib.suppress
(SIM105
) by @leiserfg in [flake8-simplify
] Add autofix forcontextlib.suppress
(SIM105
) astral-sh/ruff#3915flake8-bandit
] Ignore assert errors (S101) inTYPE_CHECKING
blocks by @charliermarsh in Ignore assert errors (S101) inTYPE_CHECKING
blocks astral-sh/ruff#3960flake8-comprehensions
] Implementunnecessary-literal-within-dict-call
(C418
) by @charliermarsh in Implementunnecessary-literal-within-dict-call
(C418
) astral-sh/ruff#3969ruff
] Add checks for mutable defaultsdataclass
es by @mosauter in Add checks fordataclass
es astral-sh/ruff#3877flake8-import-conventions
] Add a rule forBannedImportAlias
by @stancld in [flake8-import-conventions
] Add a rule forBannedImportAlias
astral-sh/ruff#3926flake8-pyi
] Implement duplicate types in unions (PYI016
) by @USER-5 in [flake8-pyi
] Implement duplicate types in unions (PYI016
) astral-sh/ruff#3922flake8-bandit
] Implement flake8-bandit shell injection rules by @robyoung in Implement flak8-bandit shell injection rules astral-sh/ruff#3924flake8-comprehensions
] RedirectPIE802
toC419
by @charliermarsh in RedirectPIE802
toC419
astral-sh/ruff#3971Bug Fixes
E712
message by @charliermarsh in Add 'or if cond' toE712
message astral-sh/ruff#3962RET504
by @charliermarsh in Ignore argument assignments when enforcingRET504
astral-sh/ruff#4004PLW2901
when using typing cast by @dhruvmanila in IgnorePLW2901
when using typing cast astral-sh/ruff#3891@override
methods by @charliermarsh in Avoid N802 violations for@override
methods astral-sh/ruff#3912C414
by @dhruvmanila in Check for arguments in inner/outer call forC414
astral-sh/ruff#3916*args
present forF523
by @dhruvmanila in Do not skip analysis if*args
present forF523
astral-sh/ruff#3923pyright: ignore
comments by @charliermarsh in Supportpyright: ignore
comments astral-sh/ruff#3941pygrep-hooks
rules by @charliermarsh in Tidy up somepygrep-hooks
rules astral-sh/ruff#3942typing_extensions.TypeVar
assignments in.pyi
files by @charliermarsh in Allowtyping_extensions.TypeVar
assignments in.pyi
files astral-sh/ruff#3951UP031
) for hanging modulos by @charliermarsh in Raise percent-format upgrade rule (UP031
) for hanging modulos astral-sh/ruff#3953PT006
by @dhruvmanila in Check for parenthesis in implicit str concat inPT006
astral-sh/ruff#3955E731
by @dhruvmanila in Preserve type annotations when fixingE731
astral-sh/ruff#3983SIM112
) by @charliermarsh in Remove autofix behavior for uncapitalized-environment-variables (SIM112
) astral-sh/ruff#3988banned-api
rules by @charliermarsh in Ignore relative imports inbanned-api
rules astral-sh/ruff#4024banned-api
enforcement by @charliermarsh in Support relative imports inbanned-api
enforcement astral-sh/ruff#4025New Contributors
dataclass
es astral-sh/ruff#3877flake8-import-conventions
] Add a rule forBannedImportAlias
astral-sh/ruff#3926flake8-pyi
] Implement duplicate types in unions (PYI016
) astral-sh/ruff#3922Full Changelog: astral-sh/ruff@v0.0.261...v0.0.262