Skip to content

Commit

Permalink
Bump pylint to 3.2.4, update changelog (#9746)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
  • Loading branch information
Pierre-Sassoulas and jacobtylerwalls committed Jun 25, 2024
1 parent c41c35a commit 425ad66
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 19 deletions.
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

0 comments on commit 425ad66

Please sign in to comment.