| 1 |
:Release: 2.6 |
| 2 |
:Date: 2020-08-20 |
| 3 |
|
| 4 |
Summary -- Release highlights |
| 5 |
============================= |
| 6 |
|
| 7 |
* ``bad-continuation`` and ``bad-whitespace`` have been removed. ``black`` or another formatter can help you with this better than Pylint |
| 8 |
* Added support for isort 5 |
| 9 |
|
| 10 |
New checkers |
| 11 |
============ |
| 12 |
|
| 13 |
* Add ``super-with-arguments`` check for flagging instances of Python 2 style super calls. |
| 14 |
|
| 15 |
* Add ``raise-missing-from`` check for exceptions that should have a cause. |
| 16 |
|
| 17 |
Other Changes |
| 18 |
============= |
| 19 |
|
| 20 |
* ``bad-continuation`` and ``bad-whitespace`` have been removed. ``black`` or another formatter can help you with this better than Pylint |
| 21 |
|
| 22 |
* The ``no-space-check`` option has been removed, it's no longer possible to consider empty line like a ``trailing-whitespace`` by using clever options. |
| 23 |
|
| 24 |
* ``mixed-indentation`` has been removed, it is no longer useful since TabError is included directly in python3 |
| 25 |
|
| 26 |
* Fix :ref:`superfluous-parens` false-positive for the walrus operator |
| 27 |
|
| 28 |
* Add support for both isort 4 and isort 5. If you have pinned isort 4 in your project requirements, nothing changes. If you use isort 5, though, note that the ``known-standard-library`` option is not interpreted the same in isort 4 and isort 5 (see `the migration guide in isort documentation` (no longer available) for further details). For compatibility's sake for most pylint users, the ``known-standard-library`` option in pylint now maps to ``extra-standard-library`` in isort 5. If you really want what ``known-standard-library`` now means in isort 5, you must disable the ``wrong-import-order`` check in pylint and run isort manually with a proper isort configuration file. |