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 3.2.4, update changelog #9746

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
35 changes: 35 additions & 0 deletions doc/whatsnew/3/3.2/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,41 @@ Summary -- Release highlights

.. towncrier release notes start

What's new in Pylint 3.2.4?
---------------------------
Release date: 2024-06-25


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

- Prevent emitting ``possibly-used-before-assignment`` when relying on names
only potentially not defined in conditional blocks guarded by functions
annotated with ``typing.Never`` or ``typing.NoReturn``.

Closes #9674 (`#9674 <https://github.com/pylint-dev/pylint/issues/9674>`_)



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

- Fixed a crash when the lineno of a variable used as an annotation wasn't available for ``undefined-variable``.

Closes #8866 (`#8866 <https://github.com/pylint-dev/pylint/issues/8866>`_)

- Fixed a crash when the ``start`` value in an ``enumerate`` was non-constant and impossible to infer
(like in``enumerate(apples, start=int(random_apple_index)``) for ``unnecessary-list-index-lookup``.

Closes #9078 (`#9078 <https://github.com/pylint-dev/pylint/issues/9078>`_)

- Fixed a crash in ``symilar`` when the ``-d`` or ``-i`` short option were not properly recognized.
It's still impossible to do ``-d=1`` (you must do ``-d 1``).

Closes #9343 (`#9343 <https://github.com/pylint-dev/pylint/issues/9343>`_)



What's new in Pylint 3.2.3?
---------------------------
Release date: 2024-06-06
Expand Down
3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/8866.bugfix

This file was deleted.

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

This file was deleted.

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

This file was deleted.

5 changes: 0 additions & 5 deletions doc/whatsnew/fragments/9674.false_positive

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__ = "3.2.3"
__version__ = "3.2.4"


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/pylint-dev/pylint"

[version]
current = "3.2.3"
current = "3.2.4"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "3.2.3"
version = "3.2.4"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/3/3.2/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down
Loading