summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-09-06 22:20:01 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-09-06 23:33:59 +0200
commitc5aefa2d11850e7ef099d15439916241f1707df8 (patch)
tree880d35f898d3479b5691d653c05f2cd3a3ca2f35
parentde613c2a08af8e83ac2c9d93acba224d461eb837 (diff)
downloadpylint-git-2.15.1.tar.gz
Bump pylint to 2.15.1, update changelogv2.15.1
-rw-r--r--CONTRIBUTORS.txt3
-rw-r--r--doc/whatsnew/2/2.15/index.rst44
-rw-r--r--doc/whatsnew/fragments/3299.false_positive3
-rw-r--r--doc/whatsnew/fragments/4354.bugfix3
-rw-r--r--doc/whatsnew/fragments/4743.bugfix4
-rw-r--r--doc/whatsnew/fragments/6592.false_positive3
-rw-r--r--doc/whatsnew/fragments/7169.bugfix3
-rw-r--r--doc/whatsnew/fragments/7368.false_positive3
-rw-r--r--doc/whatsnew/fragments/7380.bugfix3
-rw-r--r--doc/whatsnew/fragments/7398.other4
-rw-r--r--doc/whatsnew/fragments/7401.bugfix3
11 files changed, 47 insertions, 29 deletions
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 4fc6434d0..d885f555b 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -374,6 +374,7 @@ contributors:
- Ry4an Brase <ry4an-hg@ry4an.org>
- Ruro <ruro.ruro@ya.ru>
- Roman Ivanov <me@roivanov.com>
+- Rogdham <contact@rogdham.net>
- Robert Schweizer <robert_schweizer@gmx.de>
- Reverb Chu <reverbc@users.noreply.github.com>
- Renat Galimov <renat2017@gmail.com>
@@ -422,6 +423,7 @@ contributors:
- Louis Sautier <sautier.louis@gmail.com>
- Lorena Buciu <46202743+lorena-b@users.noreply.github.com>
- Logan Miller <14319179+komodo472@users.noreply.github.com>
+- Levi Gruspe <mail.levig@gmail.com>
- Kári Tristan Helgason <kthelgason@gmail.com>
- Kurian Benoy <70306694+kurianbenoy-aot@users.noreply.github.com>
- Krzysztof Czapla <k.czapla68@gmail.com>
@@ -500,6 +502,7 @@ contributors:
- Craig Citro <craigcitro@gmail.com>
- Clément Pit-Claudel <cpitclaudel@users.noreply.github.com>
- Christopher Zurcher <zurcher@users.noreply.github.com>
+- Christoph Blessing <33834216+cblessing24@users.noreply.github.com>
- Carl Crowder <bitbucket@carlcrowder.com>: don't evaluate the value of arguments for 'dangerous-default-value'
- Carey Metcalfe <carey@cmetcalfe.ca>: demoted `try-except-raise` from error to warning
- Cameron Olechowski <camsterole@users.noreply.github.com>
diff --git a/doc/whatsnew/2/2.15/index.rst b/doc/whatsnew/2/2.15/index.rst
index 420258c5a..7132e7056 100644
--- a/doc/whatsnew/2/2.15/index.rst
+++ b/doc/whatsnew/2/2.15/index.rst
@@ -29,6 +29,50 @@ 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 ``used-before-assignment`` for functions/classes defined in type checking guard.
+
+ Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
+- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
+
+ Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380>`_)
+- The ``docparams`` extension now considers typing in Numpy style docstrings
+ as "documentation" for the ``missing-param-doc`` message.
+
+ Refs #7398 (`#7398 <https://github.com/PyCQA/pylint/issues/7398>`_)
+- Fix false positive for ``unused-variable`` and ``unused-import`` when a name is only used in a string literal type annotation.
+
+ Closes #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/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 <https://github.com/PyCQA/pylint/issues/6592>`_)
+- Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
+
+ Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368>`_)
+- Fix ignored files being linted when passed on stdin.
+
+ Closes #4354 (`#4354 <https://github.com/PyCQA/pylint/issues/4354>`_)
+- ``missing-return-doc``, ``missing-raises-doc`` and ``missing-yields-doc`` now respect
+ the ``no-docstring-rgx`` option.
+
+ Closes #4743 (`#4743 <https://github.com/PyCQA/pylint/issues/4743>`_)
+- Don't crash on ``OSError`` in config file discovery.
+
+ Closes #7169 (`#7169 <https://github.com/PyCQA/pylint/issues/7169>`_)
+- ``disable-next`` is now correctly scoped to only the succeeding line.
+
+ Closes #7401 (`#7401 <https://github.com/PyCQA/pylint/issues/7401>`_)
+- Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
+
+ Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/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 b1e61c931..000000000
--- 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 09caf8d13..000000000
--- 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 1f8c30f1a..000000000
--- 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 846ddce96..000000000
--- 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 6ddf1a498..000000000
--- 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/7368.false_positive b/doc/whatsnew/fragments/7368.false_positive
deleted file mode 100644
index 4e9551a32..000000000
--- a/doc/whatsnew/fragments/7368.false_positive
+++ /dev/null
@@ -1,3 +0,0 @@
-Fix ``used-before-assignment`` for functions/classes defined in type checking guard.
-
-Closes #7368
diff --git a/doc/whatsnew/fragments/7380.bugfix b/doc/whatsnew/fragments/7380.bugfix
deleted file mode 100644
index dc5ea5fa6..000000000
--- a/doc/whatsnew/fragments/7380.bugfix
+++ /dev/null
@@ -1,3 +0,0 @@
-Update ``modified_iterating`` checker to fix a crash with ``for`` loops on empty list.
-
-Closes #7380
diff --git a/doc/whatsnew/fragments/7398.other b/doc/whatsnew/fragments/7398.other
deleted file mode 100644
index e83974ccf..000000000
--- a/doc/whatsnew/fragments/7398.other
+++ /dev/null
@@ -1,4 +0,0 @@
-The ``docparams`` extension now considers typing in Numpy style docstrings
-as "documentation" for the ``missing-param-doc`` message.
-
-Refs #7398
diff --git a/doc/whatsnew/fragments/7401.bugfix b/doc/whatsnew/fragments/7401.bugfix
deleted file mode 100644
index 8b0f0e2a8..000000000
--- 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