Skip to content

Commit 94eed81

Browse files
Bump pylint to 3.1.1, update changelog (#9615)
1 parent 461831f commit 94eed81

File tree

7 files changed

+26
-13
lines changed

7 files changed

+26
-13
lines changed

doc/whatsnew/3/3.1/index.rst

+23
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,29 @@ and a smattering of bug fixes.
1717

1818
.. towncrier release notes start
1919
20+
What's new in Pylint 3.1.1?
21+
---------------------------
22+
Release date: 2024-05-13
23+
24+
25+
False Positives Fixed
26+
---------------------
27+
28+
- Treat `attrs.define` and `attrs.frozen` as dataclass decorators in
29+
`too-few-public-methods` check.
30+
31+
Closes #9345 (`#9345 <https://github.com/pylint-dev/pylint/issues/9345>`_)
32+
33+
- Fix a false positive with ``singledispatchmethod-function`` when a method is decorated with both ``functools.singledispatchmethod`` and ``staticmethod``.
34+
35+
Closes #9531 (`#9531 <https://github.com/pylint-dev/pylint/issues/9531>`_)
36+
37+
- Fix a false positive for ``consider-using-dict-items`` when iterating using ``keys()`` and then deleting an item using the key as a lookup.
38+
39+
Closes #9554 (`#9554 <https://github.com/pylint-dev/pylint/issues/9554>`_)
40+
41+
42+
2043
What's new in Pylint 3.1.0?
2144
---------------------------
2245
Release date: 2024-02-25

doc/whatsnew/fragments/9345.false_positive

-4
This file was deleted.

doc/whatsnew/fragments/9531.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/9554.false_positive

-3
This file was deleted.

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.1.0"
12+
__version__ = "3.1.1"
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.1.0"
4+
current = "3.1.1"
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.1.0"
2+
version = "3.1.1"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/3/3.1/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)