diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 4fc6434d015..d885f555b6c 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -374,6 +374,7 @@ contributors: - Ry4an Brase - Ruro - Roman Ivanov +- Rogdham - Robert Schweizer - Reverb Chu - Renat Galimov @@ -422,6 +423,7 @@ contributors: - Louis Sautier - Lorena Buciu <46202743+lorena-b@users.noreply.github.com> - Logan Miller <14319179+komodo472@users.noreply.github.com> +- Levi Gruspe - Kári Tristan Helgason - Kurian Benoy <70306694+kurianbenoy-aot@users.noreply.github.com> - Krzysztof Czapla @@ -500,6 +502,7 @@ contributors: - Craig Citro - Clément Pit-Claudel - Christopher Zurcher +- Christoph Blessing <33834216+cblessing24@users.noreply.github.com> - Carl Crowder : don't evaluate the value of arguments for 'dangerous-default-value' - Carey Metcalfe : demoted `try-except-raise` from error to warning - Cameron Olechowski diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst index 420258c5abd..39de70ff714 100644 --- a/doc/whatsnew/2/2.15/index.rst +++ b/doc/whatsnew/2/2.15/index.rst @@ -29,6 +29,40 @@ Marc Byrne became a maintainer, welcome to the team ! .. towncrier release notes start +What's new in Pylint 2.15.1? +---------------------------- +Release date: 2022-09-06 + + +- Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation. + + Closes #3299 (`#3299 `_) +- Fix false positive for ``too-many-function-args`` when a function call is assigned to a class attribute inside the class where the function is defined. + + Closes #6592 (`#6592 `_) +- Fix ``used-before-assignment`` for functions/classes defined in type checking guard. + + Closes #7368 (`#7368 `_) +- Fix ignored files being linted when passed on stdin. + + Closes #4354 (`#4354 `_) +- ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect + the ``no-docstring-rgx`` option. + + Closes #4743 (`#4743 `_) +- Don't crash on ``OSError`` in config file discovery. + + Closes #7169 (`#7169 `_) +- ``disable-next`` is now correctly scoped to only the succeeding line. + + Closes #7401 (`#7401 `_) +- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list. + + Closes #7380 (`#7380 `_) + +What's new in Pylint 2.15.0? +---------------------------- + New Checks ---------- diff --git a/doc/whatsnew/fragments/3299.false_positive b/doc/whatsnew/fragments/3299.false_positive deleted file mode 100644 index b1e61c9313b..00000000000 --- a/doc/whatsnew/fragments/3299.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation. - -Closes #3299 diff --git a/doc/whatsnew/fragments/4354.bugfix b/doc/whatsnew/fragments/4354.bugfix deleted file mode 100644 index 09caf8d139c..00000000000 --- a/doc/whatsnew/fragments/4354.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fix ignored files being linted when passed on stdin. - -Closes #4354 diff --git a/doc/whatsnew/fragments/4743.bugfix b/doc/whatsnew/fragments/4743.bugfix deleted file mode 100644 index 1f8c30f1a7b..00000000000 --- a/doc/whatsnew/fragments/4743.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect -the ``no-docstring-rgx`` option. - -Closes #4743 diff --git a/doc/whatsnew/fragments/6592.false_positive b/doc/whatsnew/fragments/6592.false_positive deleted file mode 100644 index 846ddce9611..00000000000 --- a/doc/whatsnew/fragments/6592.false_positive +++ /dev/null @@ -1,3 +0,0 @@ -Fix false positive for ``too-many-function-args`` when a function call is assigned to a class attribute inside the class where the function is defined. - -Closes #6592 diff --git a/doc/whatsnew/fragments/7169.bugfix b/doc/whatsnew/fragments/7169.bugfix deleted file mode 100644 index 6ddf1a498e4..00000000000 --- a/doc/whatsnew/fragments/7169.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Don't crash on ``OSError`` in config file discovery. - -Closes #7169 diff --git a/doc/whatsnew/fragments/7401.bugfix b/doc/whatsnew/fragments/7401.bugfix deleted file mode 100644 index 8b0f0e2a849..00000000000 --- a/doc/whatsnew/fragments/7401.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -``disable-next`` is now correctly scoped to only the succeeding line. - -Closes #7401