Skip to content

Commit 673898f

Browse files
Merge maintenance into main following 4.0.5 release (#10861)
2 parents 999f4e7 + ec19ea9 commit 673898f

3 files changed

Lines changed: 63 additions & 5 deletions

File tree

CONTRIBUTORS.txt

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ contributors:
7979
* redefined-variable-type
8080
- Harutaka Kawamura <[email protected]>
8181
- Alexandre Fayolle <[email protected]> (Logilab): TkInter gui, documentation, debian support
82-
- Ville Skyttä <[email protected]>
8382
- Zen Lee <[email protected]>
83+
- Ville Skyttä <[email protected]>
8484
- Julien Cristau <[email protected]> (Logilab): python 3 support
8585
- Moisés López <[email protected]>:
8686
* Support for deprecated-modules in modules not installed,
@@ -177,6 +177,7 @@ contributors:
177177
- Bastien Vallet <[email protected]> (Djailla)
178178
- Aru Sahni <[email protected]>: Git ignoring, regex-based ignores
179179
- Andreas Freimuth <[email protected]>: fix indentation checking with tabs
180+
- Alvaro Frias <[email protected]>
180181
- Alexandru Coman <[email protected]>
181182
- jpkotta <[email protected]>
182183
- Thomas Grainger <[email protected]>
@@ -206,12 +207,12 @@ contributors:
206207
- James Addison <[email protected]>
207208
- Ionel Maries Cristian <[email protected]>
208209
- Gergely Kalmár <[email protected]>
210+
- Emmanuel Ferdman <[email protected]>
209211
- Damien Baty <[email protected]>
210212
- Benjamin Drung <[email protected]>: contributing Debian Developer
211213
- Anubhav <[email protected]>
212214
- Antonio Quarta <[email protected]>
213215
- Andrew J. Simmons <[email protected]>
214-
- Alvaro Frias <[email protected]>
215216
- Alexey Pelykh <[email protected]>
216217
- Alex Prabhat Bara <[email protected]>
217218
@@ -244,10 +245,10 @@ contributors:
244245
245246
- Ganden Schaffner <[email protected]>
246247
- Frost Ming <[email protected]>
248+
- Felix Preuschoff <[email protected]>
247249
- Federico Bond <[email protected]>
248250
- Erik Wright <[email protected]>
249251
- Erik Eriksson <[email protected]>: Added overlapping-except error check.
250-
- Emmanuel Ferdman <[email protected]>
251252
- Dave Bunten <[email protected]>
252253
- Daniel Wang <[email protected]>
253254
- Daniel Mouritzen <[email protected]>
@@ -266,6 +267,7 @@ contributors:
266267
- craig-sh <[email protected]>
267268
- bernie gray <[email protected]>
268269
- azinneck0485 <[email protected]>
270+
- Zachary Wilkins-Olson <[email protected]>
269271
- Wing Lian <[email protected]>
270272
- Wes Turner <[email protected]> (Google): added new check 'inconsistent-quotes'
271273
- Tyler Thieding <[email protected]>
@@ -291,6 +293,7 @@ contributors:
291293
- Nedelcu Ioan-Andrei <[email protected]>
292294
- Nathan Marrow <[email protected]>
293295
- Mikhail Fesenko <[email protected]>
296+
- Mehraz Hossain Rumman <[email protected]>
294297
- Matthew Suozzo <[email protected]>
295298
- Matthew Beckers <[email protected]> (mattlbeck)
296299
- Mark Roman Miller <[email protected]>: fix inline defs in too-many-statements
@@ -301,6 +304,7 @@ contributors:
301304
302305
- Jérome Perrin <[email protected]>
303306
- Justin Li <[email protected]>
307+
- Julfried <[email protected]>
304308
- John Kirkham <[email protected]>
305309
- Jens H. Nielsen <[email protected]>
306310
- Jake Lishman <[email protected]>
@@ -336,6 +340,7 @@ contributors:
336340
- Batuhan Taskaya <[email protected]>
337341
- Artem Yurchenko <[email protected]>
338342
- Alexander Kapshuna <[email protected]>
343+
- Alexander Grund <[email protected]>
339344
- Akshay Choudhary <[email protected]>
340345
- Adam Parkin <[email protected]>
341346
- 谭九鼎 <[email protected]>
@@ -348,6 +353,7 @@ contributors:
348353
- temyurchenko <[email protected]>
349354
- syutbai <[email protected]>
350355
- sur.la.route <[email protected]>
356+
351357
- sdet_liang <[email protected]>
352358
- pavan-msys <[email protected]>
353359
- paschich <[email protected]>
@@ -405,6 +411,7 @@ contributors:
405411
- Val Lorentz <[email protected]>
406412
- Ulrich Eckhardt <[email protected]>
407413
- Udi Fuchs <[email protected]>
414+
- Trinh Quoc Anh <[email protected]>
408415
- Trevor Bekolay <[email protected]>
409416
* Added --list-msgs-enabled command
410417
- Tomer Chachamu <[email protected]>: simplifiable-if-expression
@@ -444,6 +451,7 @@ contributors:
444451
- Roman Ivanov <[email protected]>
445452
- Robert Schweizer <[email protected]>
446453
- Reverb Chu <[email protected]>
454+
- RetroEdit <[email protected]>
447455
- Renat Galimov <[email protected]>
448456
- Rebecca Turner <[email protected]> (9999years)
449457
- Randall Leeds <[email protected]>
@@ -521,6 +529,7 @@ contributors:
521529
- Kevin Phillips <[email protected]>
522530
- Kevin Jing Qiu <[email protected]>
523531
- Kenneth Schackart <[email protected]>
532+
- Kelvin Chiu <[email protected]>
524533
- Kayran Schmidt <[email protected]>
525534
- Karthik Nadig <[email protected]>
526535
- Jürgen Hermann <[email protected]>
@@ -533,6 +542,7 @@ contributors:
533542
- Johannes Maron <[email protected]>
534543
- Joffrey Mander <[email protected]>
535544
- Jochen Preusche <[email protected]>
545+
- Joao Faria <[email protected]>
536546
- Jeroen Seegers <[email protected]>:
537547
* Fixed `toml` dependency issue
538548
- Jeremy Fleischman <[email protected]>
@@ -565,7 +575,6 @@ contributors:
565575
- Giuseppe Valente <[email protected]>
566576
- Gary Tyler McLeod <[email protected]>
567577
- Felix von Drigalski <[email protected]>
568-
- Felix Preuschoff <[email protected]>
569578
- Fabrice Douchant <[email protected]>
570579
- Fabio Natali <[email protected]>
571580
- Fabian Damken <[email protected]>
@@ -617,6 +626,7 @@ contributors:
617626
- Brandon W Maister <[email protected]>
618627
- BioGeek <[email protected]>
619628
- Berker ŞAL <[email protected]>
629+
- Benjamin T. Vincent <[email protected]>
620630
- Benjamin Partzsch <[email protected]>
621631
- Benjamin Graham <[email protected]>
622632
- Benedikt Morbach <[email protected]>
@@ -659,6 +669,7 @@ contributors:
659669
- Adrian Chirieac <[email protected]>
660670
- Aditya Gupta <[email protected]> (adityagupta1089)
661671
* Added ignore_signatures to duplicate checker
672+
- Adarsh Kumar <[email protected]>
662673
- Adam Tuft <[email protected]>
663674
- Adam Dangoor <[email protected]>
664675
- 243f6a88 85a308d3 <[email protected]>

doc/user_guide/checkers/features.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,8 @@ Stdlib checker Messages
10851085
:unspecified-encoding (W1514): *Using open without explicitly specifying an encoding*
10861086
It is better to specify an encoding when opening documents. Using the system
10871087
default implicitly can create problems on other operating systems. See
1088-
https://peps.python.org/pep-0597/
1088+
https://peps.python.org/pep-0597/ This message can't be emitted when using
1089+
Python >= 3.15.
10891090
:forgotten-debug-statement (W1515): *Leaving functions creating breakpoints in production code is not recommended*
10901091
Calls to breakpoint(), sys.breakpointhook() and pdb.set_trace() should be
10911092
removed from code that is not actively being debugged.

doc/whatsnew/4/4.0/index.rst

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

7575
.. towncrier release notes start
7676
77+
What's new in Pylint 4.0.5?
78+
---------------------------
79+
Release date: 2026-02-20
80+
81+
82+
False Positives Fixed
83+
---------------------
84+
85+
- Fix possibly-used-before-assignment false positive when using self.fail() in tests.
86+
87+
Closes #10743 (`#10743 <https://github.com/pylint-dev/pylint/issues/10743>`_)
88+
89+
- Fixed false positive for ``logging-unsupported-format`` when no arguments are provided to logging functions.
90+
91+
According to Python's logging documentation, no formatting is performed when no arguments are supplied, so strings like ``logging.error("%test")`` are valid.
92+
93+
Closes #10752 (`#10752 <https://github.com/pylint-dev/pylint/issues/10752>`_)
94+
95+
- Fix a false positive for ``invalid-name`` where a dataclass field typed with ``Final``
96+
was evaluated against the ``class_const`` regex instead of the ``class_attribute`` regex.
97+
98+
Closes #10790 (`#10790 <https://github.com/pylint-dev/pylint/issues/10790>`_)
99+
100+
- Avoid emitting `unspecified-encoding` (W1514) when `py-version` is 3.15+.
101+
102+
Refs #10791 (`#10791 <https://github.com/pylint-dev/pylint/issues/10791>`_)
103+
104+
105+
106+
Other Bug Fixes
107+
---------------
108+
109+
- Fix `--known_third_party` config being ignored.
110+
111+
Closes #10801 (`#10801 <https://github.com/pylint-dev/pylint/issues/10801>`_)
112+
113+
- Fixed dynamic color mapping for "fail-on" messages when using multiple reporter/output formats.
114+
115+
Closes #10825 (`#10825 <https://github.com/pylint-dev/pylint/issues/10825>`_)
116+
117+
- dependency on isort is now set to <9, permitting to use isort 8.
118+
119+
Closes #10857 (`#10857 <https://github.com/pylint-dev/pylint/issues/10857>`_)
120+
121+
122+
77123
What's new in Pylint 4.0.4?
78124
--------------------------------
79125
Release date: 2025-11-30

0 commit comments

Comments
 (0)