v2.12.2
-
Fixed a false positive for
unused-import
where everything was not analyzed properly inside typing guards. -
Fixed a false-positive regression for
used-before-assignment
for
typed variables in the body of class methods that reference the same classCloses #5342
-
Specified that the
ignore-paths
option considers "" to represent a
windows directory delimiter instead of a regular expression escape
character. -
Fixed a crash with the
ignore-paths
option when invoking the option
via the command line.Closes #5437
-
Fixed handling of Sphinx-style parameter docstrings with asterisks. These
should be escaped with by prepending a "".Closes #5406
-
Add
endLine
andendColumn
keys to output ofJSONReporter
.Closes #5380
-
Fixed handling of Google-style parameter specifications where descriptions
are on the line following the parameter name. These were generating
false positives formissing-param-doc
.Closes #5452
-
Fix false negative for
consider-iterating-dictionary
during membership checks encapsulated in iterables
ornot in
checksCloses #5323
-
unused-import
now check all ancestors for typing guardsCloses #5316