Debian Codegraph @

doc/whatsnew/2/2.6/full.rst

raw
1 Full changelog
2 ==============
3
4 What's New in Pylint 2.6.1?
5 ---------------------------
6 Release date: 2021-02-16
7
8 * Astroid version has been set as < 2.5
9
10 Closes #4093
11
12
13 What's New in Pylint 2.6.0?
14 ---------------------------
15 Release date: 2020-08-20
16
17 * Fix various scope-related bugs in ``undefined-variable`` checker
18
19 Closes #1082, #3434, #3461
20
21 * bad-continuation and bad-whitespace have been removed, black or another formatter can help you with this better than Pylint
22
23 Closes #246, #289, #638, #747, #1148, #1179, #1943, #2041, #2301, #2304, #2944, #3565
24
25 * 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
26
27 Closes #1368
28
29 * ``missing-kwoa`` is no longer emitted when dealing with overload functions
30
31 Closes #3655
32
33 * mixed-indentation has been removed, it is no longer useful since TabError is included directly in python3
34
35 Closes #2984 #3573
36
37 * Add ``super-with-arguments`` check for flagging instances of Python 2 style super calls.
38
39 * Add an faq detailing which messages to disable to avoid duplicates w/ other popular linters
40
41 * Fix :ref:`superfluous-parens` false-positive for the walrus operator
42
43 Closes #3383
44
45 * Fix ``fail-under`` not accepting floats
46
47 * Fix a bug with ``ignore-docstrings`` ignoring all lines in a module
48
49 * Fix ``pre-commit`` config that could lead to undetected duplicate lines of code
50
51 * Fix a crash in parallel mode when the module's filepath is not set
52
53 Closes #3564
54
55 * Add ``raise-missing-from`` check for exceptions that should have a cause.
56
57 * Support 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 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.
58
59 Closes #3722
60
61 * Fix a crash caused by not guarding against ``InferenceError`` when calling ``infer_call_result``
62
63 Closes #3690
64
65 * Fix a crash in parallel mode when the module's filepath is not set
66
67 Closes #3564