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
update-check
setting by @charliermarsh in Remove deprecatedupdate-check
setting astral-sh/ruff#4313Rules
pygrep-hooks
] Implement pygrep-hook's Mock-mistake diagnostic by @charliermarsh in Implement pygrep-hook's Mock-mistake diagnostic astral-sh/ruff#4366pylint
] Implementnested-min-max
(W3301
) by @mccullocht in [pylint
] Implementnested-min-max
(W3301
) astral-sh/ruff#4200flynt
] Implement Flynt static string join transform as FLY002 by @akx in Implement Flynt static string join transform as FLY002 astral-sh/ruff#4196pylint
] Include positional- and keyword-only arguments in too-many-arguments by @charliermarsh in Include positional- and keyword-only arguments in too-many-arguments astral-sh/ruff#4329ruff
] Update confusable character mapping by @akx in Update confusable character mapping astral-sh/ruff#4274Settings
Bug Fixes
PD002
in a lambda expression by @dhruvmanila in Avoid fixingPD002
in a lambda expression astral-sh/ruff#4286D403
if first char cannot be uppercased by @dhruvmanila in AvoidD403
if first char cannot be uppercased astral-sh/ruff#4283not not a
asbool(a)
in boolean contexts by @charliermarsh in Rewritenot not a
asbool(a)
in boolean contexts astral-sh/ruff#4294TRY301
exceptions without except handlers by @charliermarsh in IgnoreTRY301
exceptions without except handlers astral-sh/ruff#4301ListComp
brackets inC419
by @dhruvmanila in Preserve whitespace aroundListComp
brackets inC419
astral-sh/ruff#4099__all__
imports when determining definition visibility by @charliermarsh in Respect__all__
imports when determining definition visibility astral-sh/ruff#4357flake8-boolean-trap
by @charliermarsh in Ignore some methods on list inflake8-boolean-trap
astral-sh/ruff#4385.encode
calls on parenthesized expressions by @charliermarsh in Handle.encode
calls on parenthesized expressions astral-sh/ruff#4338SyntaxError
s before newline character by @MichaReiser in TruncateSyntaxError
s before newline character astral-sh/ruff#4124New Contributors
Full Changelog: astral-sh/ruff@v0.0.265...v0.0.266