diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-04-03 16:46:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 16:46:22 +0200 |
commit | 2e6468f7f986032dad0e1ce5e5c8aa7f5d9e55fb (patch) | |
tree | 24c8b8381fcfe5880c9907f91068939aedca6fd6 | |
parent | 08742dbea32edc54aa27dbcbaecdf3532a8e15ae (diff) | |
parent | 5250d7778458d9b600b9f6ef576ce34091584f6d (diff) | |
download | pylint-git-2e6468f7f986032dad0e1ce5e5c8aa7f5d9e55fb.tar.gz |
Merge maintenance 2.17.x in main following 2.17.2 release (#8534)
-rw-r--r-- | doc/whatsnew/2/2.17/index.rst | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/whatsnew/2/2.17/index.rst b/doc/whatsnew/2/2.17/index.rst index 4631414a9..7ea69bf68 100644 --- a/doc/whatsnew/2/2.17/index.rst +++ b/doc/whatsnew/2/2.17/index.rst @@ -29,6 +29,42 @@ so we find problems before the actual release. .. towncrier release notes start +What's new in Pylint 2.17.2? +---------------------------- +Release date: 2023-04-03 + + +False Positives Fixed +--------------------- + +- ``invalid-name`` now allows for integers in ``typealias`` names: + - now valid: ``Good2Name``, ``GoodName2``. + - still invalid: ``_1BadName``. + + Closes #8485 (`#8485 <https://github.com/PyCQA/pylint/issues/8485>`_) + +- No longer consider ``Union`` as type annotation as type alias for naming + checks. + + Closes #8487 (`#8487 <https://github.com/PyCQA/pylint/issues/8487>`_) + +- ``unnecessary-lambda`` no longer warns on lambdas which use its parameters in + their body (other than the final arguments), e.g. + ``lambda foo: (bar if foo else baz)(foo)``. + + Closes #8496 (`#8496 <https://github.com/PyCQA/pylint/issues/8496>`_) + + + +Other Bug Fixes +--------------- + +- Fix a crash in pyreverse when "/" characters are used in the output filename + e.g pyreverse -o png -p name/ path/to/project. + + Closes #8504 (`#8504 <https://github.com/PyCQA/pylint/issues/8504>`_) + + What's new in Pylint 2.17.1? ---------------------------- Release date: 2023-03-22 |