Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pylint to 2.15.7, update changelog #7845

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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