summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-04-03 14:20:20 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-04-03 14:20:20 +0200
commit5250d7778458d9b600b9f6ef576ce34091584f6d (patch)
tree24c8b8381fcfe5880c9907f91068939aedca6fd6
parent08742dbea32edc54aa27dbcbaecdf3532a8e15ae (diff)
parentde0147e92586be56cdee9711dd3d3a7a7e1c9ef2 (diff)
downloadpylint-git-5250d7778458d9b600b9f6ef576ce34091584f6d.tar.gz
Merge 'maintenance/2.17.x' in main following 2.17.2 release
-rw-r--r--doc/whatsnew/2/2.17/index.rst36
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