Skip to content

Commit

Permalink
Bump pylint to 3.0.4, update changelog (#9458)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Feb 23, 2024
1 parent 327785d commit 8115381
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 23 deletions.
40 changes: 40 additions & 0 deletions doc/whatsnew/3/3.0/index.rst
Expand Up @@ -65,6 +65,46 @@ easier to parse and provides more info, here's a sample output.
.. towncrier release notes start
What's new in Pylint 3.0.4?
---------------------------
Release date: 2024-02-23


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

- ``used-before-assignment`` is no longer emitted when using a name in a loop and
depending on an earlier name assignment in an ``except`` block paired with
``else: continue``.

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

- Avoid false positives for ``no-member`` involving function
attributes supplied by decorators.

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

- Fixed false positive nested-min-max for nested lists.

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

- Fix false positive for ``used-before-assignment`` in a ``finally`` block
when assignments took place in both the ``try`` block and each exception handler.

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



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

- Catch incorrect ValueError ``"generator already executing"`` for Python 3.12.0 - 3.12.2.
This is fixed upstream in Python 3.12.3.

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



What's new in Pylint 3.0.3?
---------------------------
Release date: 2023-12-11
Expand Down
5 changes: 0 additions & 5 deletions doc/whatsnew/fragments/6804.false_positive

This file was deleted.

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

This file was deleted.

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

This file was deleted.

3 changes: 0 additions & 3 deletions doc/whatsnew/fragments/9307.false_positive

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion pylint/__pkginfo__.py
Expand Up @@ -9,7 +9,7 @@

from __future__ import annotations

__version__ = "3.0.3"
__version__ = "3.0.4"


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

[version]
current = "3.0.3"
current = "3.0.4"
regex = '''
^(?P<major>0|[1-9]\d*)
\.
Expand Down
2 changes: 1 addition & 1 deletion towncrier.toml
@@ -1,5 +1,5 @@
[tool.towncrier]
version = "3.0.3"
version = "3.0.4"
directory = "doc/whatsnew/fragments"
filename = "doc/whatsnew/3/3.0/index.rst"
template = "doc/whatsnew/fragments/_template.rst"
Expand Down

0 comments on commit 8115381

Please sign in to comment.