Skip to content

Commit f798a4a

Browse files
Bump pylint to 3.3.7, update changelog (#10367)
1 parent f9773de commit f798a4a

File tree

11 files changed

+52
-26
lines changed

11 files changed

+52
-26
lines changed

doc/whatsnew/3/3.3/index.rst

+41
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,47 @@ Summary -- Release highlights
1414

1515
.. towncrier release notes start
1616
17+
What's new in Pylint 3.3.7?
18+
---------------------------
19+
Release date: 2025-05-04
20+
21+
22+
False Positives Fixed
23+
---------------------
24+
25+
- Comparisons between two calls to `type()` won't raise an ``unidiomatic-typecheck`` warning anymore, consistent with the behavior applied only for ``==`` previously.
26+
27+
Closes #10161 (`#10161 <https://github.com/pylint-dev/pylint/issues/10161>`_)
28+
29+
30+
31+
Other Bug Fixes
32+
---------------
33+
34+
- Fixed a crash when importing a class decorator that did not exist with the same name as a class attribute after the class definition.
35+
36+
Closes #10105 (`#10105 <https://github.com/pylint-dev/pylint/issues/10105>`_)
37+
38+
- Fix a crash caused by malformed format strings when using `.format` with keyword arguments.
39+
40+
Closes #10282 (`#10282 <https://github.com/pylint-dev/pylint/issues/10282>`_)
41+
42+
- Using a slice as a class decorator now raises a ``not-callable`` message instead of crashing. A lot of checks that dealt with decorators (too many to list) are now shortcut if the decorator can't immediately be inferred to a function or class definition.
43+
44+
Closes #10334 (`#10334 <https://github.com/pylint-dev/pylint/issues/10334>`_)
45+
46+
47+
48+
Other Changes
49+
-------------
50+
51+
- The algorithm used for ``no-member`` suggestions is now more efficient and cuts the
52+
calculation when the distance score is already above the threshold.
53+
54+
Refs #10277 (`#10277 <https://github.com/pylint-dev/pylint/issues/10277>`_)
55+
56+
57+
1758
What's new in Pylint 3.3.6?
1859
---------------------------
1960
Release date: 2025-03-20

doc/whatsnew/fragments/10105.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/10161.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/10277.other

-4
This file was deleted.

doc/whatsnew/fragments/10282.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/10334.bugfix

-3
This file was deleted.

examples/pylintrc

+4-4
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,10 @@ evaluation=max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refactor
495495
# used to format the message information. See doc for all details.
496496
msg-template=
497497

498-
# Set the output format. Available formats are: text, parseable, colorized,
499-
# json2 (improved json format), json (old json format) and msvs (visual
500-
# studio). You can also give a reporter class, e.g.
501-
# mypackage.mymodule.MyReporterClass.
498+
# Set the output format. Available formats are: 'text', 'parseable',
499+
# 'colorized', 'json2' (improved json format), 'json' (old json format), msvs
500+
# (visual studio) and 'github' (GitHub actions). You can also give a reporter
501+
# class, e.g. mypackage.mymodule.MyReporterClass.
502502
#output-format=
503503

504504
# Tells whether to display a full report or only the messages.

examples/pyproject.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -438,9 +438,10 @@ evaluation = "max(0, 0 if fatal else 10.0 - ((float(5 * error + warning + refact
438438
# used to format the message information. See doc for all details.
439439
# msg-template =
440440

441-
# Set the output format. Available formats are: text, parseable, colorized, json2
442-
# (improved json format), json (old json format) and msvs (visual studio). You
443-
# can also give a reporter class, e.g. mypackage.mymodule.MyReporterClass.
441+
# Set the output format. Available formats are: 'text', 'parseable', 'colorized',
442+
# 'json2' (improved json format), 'json' (old json format), msvs (visual studio)
443+
# and 'github' (GitHub actions). You can also give a reporter class, e.g.
444+
# mypackage.mymodule.MyReporterClass.
444445
# output-format =
445446

446447
# Tells whether to display a full report or only the messages.

pylint/__pkginfo__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
from __future__ import annotations
1111

12-
__version__ = "3.3.6"
12+
__version__ = "3.3.7"
1313

1414

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

tbump.toml

+1-1
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 = "3.3.6"
4+
current = "3.3.7"
55
regex = '''
66
^(?P<major>0|[1-9]\d*)
77
\.

towncrier.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.towncrier]
2-
version = "3.3.6"
2+
version = "3.3.7"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/3/3.3/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)