What's Changed
Rules
- Implement pylint's
too-many-branches
rule (PLR0912
) by @chanman3388 in #2550 - Implement pylint's
too-many-return-statements
rule (PLR0911
) by @chanman3388 in #2564 - [
pyupgrade
]: Removes quotes from annotations by @colin99d in #2431 - [
pylint
]: bad-str-strip-call by @colin99d in #2570 - Implement pycodestyle's logical line detection by @charliermarsh in #1130
- Enable autofix for unnecessary-paren-on-raise-exception by @charliermarsh in #2596
- Automatically remove empty type-checking blocks by @charliermarsh in #2598
Bug Fixes
- Avoid infinite renames for unused-loop-control-variable by @charliermarsh in #2581
- Ignore direct root-children in implicit-namespace-package by @charliermarsh in #2565
- Allow blank line before sticky-comment functions in docstrings by @charliermarsh in #2597
- Visit deferred assignments after deferred type annotations by @charliermarsh in #2607
- Fix python module invocation by @trottomv in #2563
- Portably find ruff binary path from Python by @andersk in #2574
- fix(commented-out-code):
mypy
andSPDX-License-Identifier
false positives by @scop in #2587
New Contributors
- @trottomv made their first contribution in #2563
- @MichaReiser made their first contribution in #2088
Full Changelog: v0.0.241...v0.0.242