pylint-2.6.0
-
Fix various scope-related bugs in
undefined-variablechecker -
bad-continuation and bad-whitespace have been removed, black or another formatter can help you with this better than Pylint
Close #246, #289, #638, #747, #1148, #1179, #1943, #2041, #2301, #2304, #2944, #3565
-
The no-space-check option has been removed. It's no longer possible to consider empty line like a
trailing-whitespaceby using clever optionsClose #1368
-
missing-kwoais no longer emitted when dealing with overload functionsClose #3655
-
mixed-indentation has been removed, it is no longer useful since TabError is included directly in python3
-
Add
super-with-argumentscheck for flagging instances of Python 2 style super calls. -
Add an faq detailing which messages to disable to avoid duplicates w/ other popular linters
-
Fix superfluous-parens false-positive for the walrus operator
Close #3383
-
Fix
fail-undernot accepting floats -
Fix a bug with
ignore-docstringsignoring all lines in a module -
Fix
pre-commitconfig that could lead to undetected duplicate lines of code -
Fix a crash in parallel mode when the module's filepath is not set
Close #3564
-
Add
raise-missing-fromcheck for exceptions that should have a cause. -
Support both isort 4 and isort 5. If you have pinned isort 4 in your projet requirements, nothing changes. If you use isort 5, though, note that the
known-standard-libraryoption is not interpreted the same in isort 4 and isort 5 (see the migration guide in isort documentation for further details). For compatibility's sake for most pylint users, theknown-standard-libraryoption in pylint now maps toextra-standard-libraryin isort 5. If you really want whatknown-standard-librarynow means in isort 5, you must disable thewrong-import-ordercheck in pylint and run isort manually with a proper isort configuration file.Close #3722