What's New in Pylint 2.6¶
- Release
2.6
- Date
2020-08-20
Summary -- Release highlights¶
bad-continuationandbad-whitespacehave been removed.blackor another formatter can help you with this better than PylintAdded support for isort 5
New checkers¶
Add
super-with-argumentscheck for flagging instances of Python 2 style super calls.Add
raise-missing-fromcheck for exceptions that should have a cause.
Other Changes¶
bad-continuationandbad-whitespacehave been removed.blackor another formatter can help you with this better than PylintThe
no-space-checkoption has been removed, it's no longer possible to consider empty line like atrailing-whitespaceby using clever options.mixed-indentationhas been removed, it is no longer useful since TabError is included directly in python3Fix superfluous-parens false-positive for the walrus operator
Add support for 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.
