What's Changed
Rules
- [
flake8-bugbear
] Addpytest.raises(Exception)
support to B017 by @alanhdu in #4052 - [
flake8-import-conventions
] Implement new ruleICN003
to banfrom ... import ...
for selected modules by @edgarrmondragon in #4040 - [
pylint
] Implement PLE0302unexpected-special-method-signature
by @mccullocht in #4075 - [
pep8-naming
] IgnoreN815
forTypedDict
fields by @JonathanPlasse in #4066
Bug Fixes
- Avoid
PYI015
for valid default value without annotation by @dhruvmanila in #4043 - Avoid infinite-propagation of inline comments when force-splitting imports by @charliermarsh in #4074
- Fix SIM222 and SIM223 false positives and auto-fix by @JonathanPlasse in #4063
- Unify positional and keyword arguments when checking for missing arguments in docstring by @evanrittenhouse in #4067
- Avoid
RUF008
if field annotation is immutable by @dhruvmanila in #4039 - Increment priority should be (branch-local, global) by @dhruvmanila in #4070
- Ignore
ClassVar
annotation forRUF008
,RUF009
by @dhruvmanila in #4081 - Support --fix in watch mode by @evanrittenhouse in #4035
New Contributors
- @alanhdu made their first contribution in #4052
- @pronoym99 made their first contribution in #4055
- @Secrus made their first contribution in #4085
- @madkinsz made their first contribution in #4084
- @mccullocht made their first contribution in #4075
Full Changelog: v0.0.262...v0.0.263