v0.0.264
What's Changed
Rules
- Autofix
EM101,EM102,EM103if possible by @dhruvmanila in #4123 - Add bugbear immutable functions as allowed in dataclasses by @mosauter in #4122
Settings
- Add support for providing command-line arguments via
argfileby @charliermarsh in #4087
Bug Fixes
- Make D410/D411 autofixes mutually exclusive by @evanrittenhouse in #4110
- Remove
pyrightcomment prefix from PYI033 checks by @evanrittenhouse in #4152 - Fix F811 false positive with match by @JonathanPlasse in #4161
- Fix
E713andE714false positives for multiple comparisons by @JonathanPlasse in #4083 - Fix B023 shadowed variables in nested functions by @MichaReiser in #4111
- Preserve star-handling special-casing for force-single-line by @charliermarsh in #4129
- Respect parent-scoping rules for
NamedExprassignments by @charliermarsh in #4145 - Fix UP032 auto-fix by @JonathanPlasse in #4165
- Allow boolean parameters for
pytest.paramby @charliermarsh in #4176
Internal
- Replace row/column based
Locationwith byte-offsets. by @MichaReiser in #3931 - perf(logical-lines): Various small perf improvements by @MichaReiser in #4022
- Use
memchrto speedup newline search on x86 by @MichaReiser in #3985 - Remove
ScopeStackin favor of child-parentScopeIdpointers by @charliermarsh in #4138
Full Changelog: v0.0.263...v0.0.264