v2.15.1
-
Fix
used-before-assignment
for functions/classes defined in type checking guard.Closes #7368
-
Update
modified_iterating
checker to fix a crash withfor
loops on empty list.Closes #7380
-
The
docparams
extension now considers typing in Numpy style docstrings
as "documentation" for themissing-param-doc
message.Refs #7398
-
Fix false positive for
unused-variable
andunused-import
when a name is only used in a string literal type annotation.Closes #3299
-
Fix false positive for
too-many-function-args
when a function call is assigned to a class attribute inside the class where the function is defined.Closes #6592
-
Fix
used-before-assignment
for functions/classes defined in type checking guard.Closes #7368
-
Fix ignored files being linted when passed on stdin.
Closes #4354
-
missing-return-doc
,missing-raises-doc
andmissing-yields-doc
now respect
theno-docstring-rgx
option.Closes #4743
-
Don't crash on
OSError
in config file discovery.Closes #7169
-
disable-next
is now correctly scoped to only the succeeding line.Closes #7401
-
Update
modified_iterating
checker to fix a crash withfor
loops on empty list.Closes #7380