Skip to content

Commit

Permalink
Bump pylint to 2.15.7, update changelog (#7845)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas authored Nov 29, 2022
1 parent 43109b6 commit 5a96370
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 16 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ contributors:
- Fabrice Douchant <[email protected]>
- Fabio Natali <[email protected]>
- Fabian Damken <[email protected]>
- Eric McDonald <[email protected]>
- Eric Froemling <[email protected]>
- Emmanuel Chaudron <[email protected]>
- Elizabeth Bott <[email protected]>
Expand Down
35 changes: 35 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,41 @@ Marc Byrne became a maintainer, welcome to the team !

.. towncrier release notes start
What's new in Pylint 2.15.7?
----------------------------
Release date: 2022-11-27


False Positives Fixed
---------------------

- Fix ``deprecated-method`` false positive when alias for method is similar to
name of deprecated method.

Closes #5886 (`#5886 <https://github.com/PyCQA/pylint/issues/5886>`_)

- Fix a false positive for ``used-before-assignment`` for imports guarded by
``typing.TYPE_CHECKING`` later used in variable annotations.

Closes #7609 (`#7609 <https://github.com/PyCQA/pylint/issues/7609>`_)



Other Bug Fixes
---------------

- Pylint will now filter duplicates given to it before linting. The output
should
be the same whether a file is given/discovered multiple times or not.

Closes #6242, #4053 (`#6242 <https://github.com/PyCQA/pylint/issues/6242>`_)

- Fixes a crash in ``stop-iteration-return`` when the ``next`` builtin is
called without arguments.

Closes #7828 (`#7828 <https://github.com/PyCQA/pylint/issues/7828>`_)


What's new in Pylint 2.15.6?
----------------------------
Release date: 2022-11-19
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/5886.false_positive

This file was deleted.

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

This file was deleted.

4 changes: 0 additions & 4 deletions doc/whatsnew/fragments/7609.false_positive

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "2.15.6"
__version__ = "2.15.7"


def get_numversion_from_version(v: str) -> tuple[int, int, int]:
Expand Down
2 changes: 1 addition & 1 deletion tbump.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github_url = "https://github.com/PyCQA/pylint"

[version]
current = "2.15.6"
current = "2.15.7"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down

0 comments on commit 5a96370

Please sign in to comment.