Skip to content

Commit f2cded4

Browse files
Bump pylint to 3.0.1, update changelog (#9119)
1 parent a1443ed commit f2cded4

File tree

7 files changed

+27
-11
lines changed

7 files changed

+27
-11
lines changed

doc/exts/pylint_extensions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ def get_plugins_info(
145145
return by_checker
146146

147147

148-
def setup(app: Sphinx) -> dict[str, str]:
148+
def setup(app: Sphinx) -> dict[str, str | bool]:
149149
app.connect("builder-inited", builder_inited)
150-
return {"version": sphinx.__display_version__}
150+
return {"version": sphinx.__display_version__, "parallel_read_safe": True}
151151

152152

153153
if __name__ == "__main__":

doc/whatsnew/3/3.0/index.rst

+22
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,28 @@ easier to parse and provides more info, here's a sample output.
6565
6666
.. towncrier release notes start
6767
68+
What's new in Pylint 3.0.1?
69+
---------------------------
70+
Release date: 2023-10-05
71+
72+
73+
False Positives Fixed
74+
---------------------
75+
76+
- Fixed false positive for ``inherit-non-class`` for generic Protocols.
77+
78+
Closes #9106 (`#9106 <https://github.com/pylint-dev/pylint/issues/9106>`_)
79+
80+
81+
82+
Other Changes
83+
-------------
84+
85+
- Fix a crash when an enum class which is also decorated with a ``dataclasses.dataclass`` decorator is defined.
86+
87+
Closes #9100 (`#9100 <https://github.com/pylint-dev/pylint/issues/9100>`_)
88+
89+
6890
What's new in Pylint 3.0.0?
6991
---------------------------
7092
Release date: 2023-10-02

doc/whatsnew/fragments/9100.other

-3
This file was deleted.

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

0 commit comments

Comments
 (0)