Skip to content

Commit e16f942

Browse files
Bump pylint to 4.0.4, update changelog
1 parent 657b386 commit e16f942

File tree

5 files changed

+20
-9
lines changed

5 files changed

+20
-9
lines changed

doc/whatsnew/4/4.0/index.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,24 @@ to your liking.
7474

7575
.. towncrier release notes start
7676
77+
What's new in Pylint 4.0.4?
78+
--------------------------------
79+
Release date: 2025-11-30
80+
81+
82+
False Positives Fixed
83+
---------------------
84+
85+
- Fixed false positive for ``invalid-name`` where module-level constants were incorrectly classified as variables when a class-level attribute with the same name exists.
86+
87+
Closes #10719 (`#10719 <https://github.com/pylint-dev/pylint/issues/10719>`_)
88+
89+
- Fix a false positive for ``invalid-name`` on an UPPER_CASED name inside an ``if`` branch that assigns an object.
90+
91+
Closes #10745 (`#10745 <https://github.com/pylint-dev/pylint/issues/10745>`_)
92+
93+
94+
7795
What's new in Pylint 4.0.3?
7896
---------------------------
7997
Release date: 2025-11-13

doc/whatsnew/fragments/10719.false_positive

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/whatsnew/fragments/10745.false_positive

Lines changed: 0 additions & 4 deletions
This file was deleted.

pylint/__pkginfo__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from __future__ import annotations
1111

12-
__version__ = "4.0.3"
12+
__version__ = "4.0.4"
1313

1414

1515
def get_numversion_from_version(v: str) -> tuple[int, int, int]:

tbump.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/pylint-dev/pylint"
22

33
[version]
4-
current = "4.0.3"
4+
current = "4.0.4"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

0 commit comments

Comments
 (0)