You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the changelog and whatsnew retroactively for 2.7 release
Remove everything that was in 2.6 changelog when it should be in 2.7
following the decision taken in #3831. This can be checked with
```
git remote add pyorigin [email protected]:PyCQA/pylint.git
git diff pyorigin/2.6 doc/whatsnew/
git diff pyorigin/2.6 ChangeLog
```
The idea is that nothing should be added between 2.6 and now in a 2.6
portion everything done between now and 2.6 should be in 2.7.
Copy file name to clipboardExpand all lines: doc/whatsnew/2.6.rst
+2-31Lines changed: 2 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -5,45 +5,22 @@
5
5
:Release: 2.6
6
6
:Date: 2020-08-20
7
7
8
-
9
8
Summary -- Release highlights
10
9
=============================
11
10
12
-
* Python 3.6+ is now required.
11
+
* `bad-continuation` and `bad-whitespace` have been removed. `black` or another formatter can help you with this better than Pylint
12
+
* Added support for isort 5
13
13
14
14
New checkers
15
15
============
16
16
17
-
* Add support to ``ignored-argument-names`` in DocstringParameterChecker and
18
-
adds `useless-param-doc` and `useless-type-doc` messages.
19
-
20
-
* Add `empty-comment` check for empty comments.
21
-
22
17
* Add `super-with-arguments` check for flagging instances of Python 2 style super calls.
23
18
24
19
* Add `raise-missing-from` check for exceptions that should have a cause.
25
20
26
-
* Add `simplifiable-condition` check for extraneous constants in conditionals using and/or.
27
-
28
-
* Add `condition-evals-to-constant` check for conditionals using and/or that evaluate to a constant.
29
-
30
21
Other Changes
31
22
=============
32
23
33
-
* Fix linter multiprocessing pool shutdown which triggered warnings when runned in parallels with other pytest plugins.
34
-
35
-
* Enums are now required to be named in UPPER_CASE by ``invalid-name``.
36
-
37
-
* Fix bug that lead to duplicate messages when using ``--jobs 2`` or more.
38
-
39
-
* Adds option ``check-protected-access-in-special-methods`` in the ClassChecker to activate/deactivate
40
-
``protected-access`` message emission for single underscore prefixed attribute in special methods.
41
-
42
-
* ``inconsistent-return-statements`` message is now emitted if one of ``try/except`` statement
43
-
is not returning explicitly while the other do.
44
-
45
-
* Fix false positive message ``useless-super-delegation`` when default keyword argument is a dictionnary.
46
-
47
24
* `bad-continuation` and `bad-whitespace` have been removed. `black` or another formatter can help you with this better than Pylint
48
25
49
26
* 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.
@@ -54,10 +31,4 @@ Other Changes
54
31
55
32
* 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-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.
56
33
57
-
* Fix vulnerable regular expressions in ``pyreverse``. The ambiguities of vulnerable regular expressions are removed, making the repaired regular expressions safer and faster matching.
58
-
59
34
.. _the migration guide in isort documentation: https://timothycrosley.github.io/isort/docs/upgrade_guides/5.0.0/#known_standard_library
60
-
61
-
* `len-as-conditions` is now triggered only for classes that are inheriting directly from list, dict, or set and not implementing the `__bool__` function, or from generators like range or list/dict/set comprehension. This should reduce the false positive for other classes, like pandas's DataFrame or numpy's Array.
* No more duplicate messages when using multiple jobs.
12
+
* Handling of the new typing provided by mypy 0.8
13
+
* Python 3.6+ is now required.
14
+
15
+
New checkers
16
+
============
17
+
18
+
* Add support to ``ignored-argument-names`` in DocstringParameterChecker and
19
+
adds `useless-param-doc` and `useless-type-doc` messages.
20
+
21
+
* Add `empty-comment` check for empty comments.
22
+
23
+
* Add `simplifiable-condition` check for extraneous constants in conditionals using and/or.
24
+
25
+
* Add `condition-evals-to-constant` check for conditionals using and/or that evaluate to a constant.
26
+
27
+
Other Changes
28
+
=============
29
+
30
+
* Fix linter multiprocessing pool shutdown which triggered warnings when runned in parallels with other pytest plugins.
31
+
32
+
* Enums are now required to be named in UPPER_CASE by ``invalid-name``.
33
+
34
+
* Fix bug that lead to duplicate messages when using ``--jobs 2`` or more.
35
+
36
+
* Adds option ``check-protected-access-in-special-methods`` in the ClassChecker to activate/deactivate
37
+
``protected-access`` message emission for single underscore prefixed attribute in special methods.
38
+
39
+
* ``inconsistent-return-statements`` message is now emitted if one of ``try/except`` statement
40
+
is not returning explicitly while the other do.
41
+
42
+
* Fix false positive message ``useless-super-delegation`` when default keyword argument is a dictionary.
43
+
44
+
* Fix vulnerable regular expressions in ``pyreverse``. The ambiguities of vulnerable regular expressions are removed, making the repaired regular expressions safer and faster matching.
45
+
46
+
* `len-as-conditions` is now triggered only for classes that are inheriting directly from list, dict, or set and not implementing the `__bool__` function, or from generators like range or list/dict/set comprehension. This should reduce the false positive for other classes, like pandas's DataFrame or numpy's Array.
0 commit comments