v0.0.241
What's Changed
Deprecates
Rules
- feat: add autofix for PLR0402 by @spaceone in #2504
- Allow F811 noqa declarations on containing import lines by @charliermarsh in #2553
Features
- Mark fixable issues in printer output by @charliermarsh in #2500
- Always report parse errors back to the user by @charliermarsh in #2505
- Notify user if autofix introduces syntax error by @charliermarsh in #2507
- Add
known-standard-libraryfor each Python version by @JonathanPlasse in #2491
Bug Fixes
- Avoid renaming unused loop variables with deferred usages by @charliermarsh in #2509
- [
flake8-self] Fix False Negative Issue on RuleSLF001by @saadmk11 in #2527 - Minor fixes to PLR0915 logic by @chanman3388 in #2518
- Exit upon showing files with
--show-filesby @charliermarsh in #2543 - Ignore direct source-children in
implicit-namespace-packageby @charliermarsh in #2560 - Allow
list()andtuple()calls in__all__assignments by @charliermarsh in #2499 - Don't walk past project root when figuring out exclusion by @akx in #2471
- Avoid hang when detecting trailing comments by @charliermarsh in #2549
New Contributors
- @JacobCoffee made their first contribution in #2516
- @Pierre-Sassoulas made their first contribution in #2559
Full Changelog: v0.0.240...v0.0.241