Skip to content

Commit

Permalink
Bump pylint to 2.15.1, update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Sep 6, 2022
1 parent de613c2 commit c5aefa2
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 29 deletions.
3 changes: 3 additions & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
44 changes: 44 additions & 0 deletions doc/whatsnew/2/2.15/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------

Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/3299.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/4354.bugfix

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/4743.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/6592.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7169.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7368.false_positive

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7380.bugfix

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/7398.other

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/7401.bugfix

This file was deleted.

0 comments on commit c5aefa2

Please sign in to comment.