forked from pylint-dev/pylint
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 pylint-dev#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.
- Loading branch information
1 parent
1093e5d
commit 4f3c427
Showing
4 changed files
with
75 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
************************** | ||
What's New in Pylint 2.7 | ||
************************** | ||
|
||
:Release: 2.7 | ||
:Date: 2021-02-XX | ||
|
||
Summary -- Release highlights | ||
============================= | ||
|
||
* No more duplicate messages when using multiple jobs. | ||
* Handling of the new typing provided by mypy 0.8 | ||
* Python 3.6+ is now required. | ||
|
||
New checkers | ||
============ | ||
|
||
* Add support to ``ignored-argument-names`` in DocstringParameterChecker and | ||
adds `useless-param-doc` and `useless-type-doc` messages. | ||
|
||
* Add `empty-comment` check for empty comments. | ||
|
||
* Add `simplifiable-condition` check for extraneous constants in conditionals using and/or. | ||
|
||
* Add `condition-evals-to-constant` check for conditionals using and/or that evaluate to a constant. | ||
|
||
Other Changes | ||
============= | ||
|
||
* Fix linter multiprocessing pool shutdown which triggered warnings when runned in parallels with other pytest plugins. | ||
|
||
* Enums are now required to be named in UPPER_CASE by ``invalid-name``. | ||
|
||
* Fix bug that lead to duplicate messages when using ``--jobs 2`` or more. | ||
|
||
* Adds option ``check-protected-access-in-special-methods`` in the ClassChecker to activate/deactivate | ||
``protected-access`` message emission for single underscore prefixed attribute in special methods. | ||
|
||
* ``inconsistent-return-statements`` message is now emitted if one of ``try/except`` statement | ||
is not returning explicitly while the other do. | ||
|
||
* Fix false positive message ``useless-super-delegation`` when default keyword argument is a dictionary. | ||
|
||
* Fix vulnerable regular expressions in ``pyreverse``. The ambiguities of vulnerable regular expressions are removed, making the repaired regular expressions safer and faster matching. | ||
|
||
* `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. | ||
|
||
* Fixes duplicate code detection for --jobs=2+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters