diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/whatsnew/2/2.15/index.rst | 44 | ||||
-rw-r--r-- | doc/whatsnew/fragments/3299.false_positive | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/4354.bugfix | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/4743.bugfix | 4 | ||||
-rw-r--r-- | doc/whatsnew/fragments/6592.false_positive | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7169.bugfix | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7368.false_positive | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7380.bugfix | 3 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7398.other | 4 | ||||
-rw-r--r-- | doc/whatsnew/fragments/7401.bugfix | 3 |
10 files changed, 44 insertions, 29 deletions
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 |