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 <[email protected]>
- Ruro <[email protected]>
- Roman Ivanov <[email protected]>
- Rogdham <[email protected]>
- Robert Schweizer <[email protected]>
- Reverb Chu <[email protected]>
- Renat Galimov <[email protected]>
Expand Down Expand Up @@ -422,6 +423,7 @@ contributors:
- Louis Sautier <[email protected]>
- Lorena Buciu <[email protected]>
- Logan Miller <[email protected]>
- Levi Gruspe <[email protected]>
- Kári Tristan Helgason <[email protected]>
- Kurian Benoy <[email protected]>
- Krzysztof Czapla <[email protected]>
Expand Down Expand Up @@ -500,6 +502,7 @@ contributors:
- Craig Citro <[email protected]>
- Clément Pit-Claudel <[email protected]>
- Christopher Zurcher <[email protected]>
- Christoph Blessing <[email protected]>
- Carl Crowder <[email protected]>: don't evaluate the value of arguments for 'dangerous-default-value'
- Carey Metcalfe <[email protected]>: demoted `try-except-raise` from error to warning
- Cameron Olechowski <[email protected]>
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.