Skip to content

Commit efee961

Browse files
Bump pylint to 3.0.2, update changelog
1 parent 31aca81 commit efee961

File tree

9 files changed

+37
-18
lines changed

9 files changed

+37
-18
lines changed

doc/whatsnew/3/3.0/index.rst

+34
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,40 @@ 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.2?
69+
---------------------------
70+
Release date: 2023-10-22
71+
72+
73+
False Positives Fixed
74+
---------------------
75+
76+
- Fix ``used-before-assignment`` false positive for generic type syntax (PEP 695, Python 3.12).
77+
78+
Closes #9110 (`#9110 <https://github.com/pylint-dev/pylint/issues/9110>`_)
79+
80+
81+
82+
Other Bug Fixes
83+
---------------
84+
85+
- Escape special symbols and newlines in messages.
86+
87+
Closes #7874 (`#7874 <https://github.com/pylint-dev/pylint/issues/7874>`_)
88+
89+
- Fixes suggestion for ``nested-min-max`` for expressions with additive operators, list and dict comprehensions.
90+
91+
Closes #8524 (`#8524 <https://github.com/pylint-dev/pylint/issues/8524>`_)
92+
93+
- Fixes ignoring conditional imports with ``ignore-imports=y``.
94+
95+
Closes #8914 (`#8914 <https://github.com/pylint-dev/pylint/issues/8914>`_)
96+
97+
- Emit ``inconsistent-quotes`` for f-strings with 3.12 interpreter only if targeting pre-3.12 versions.
98+
99+
Closes #9113 (`#9113 <https://github.com/pylint-dev/pylint/issues/9113>`_)
100+
101+
68102
What's new in Pylint 3.0.1?
69103
---------------------------
70104
Release date: 2023-10-05

doc/whatsnew/fragments/7874.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8524.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8914.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/9110.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/9113.bugfix

-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.1"
12+
__version__ = "3.0.2"
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.1"
4+
current = "3.0.2"
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.1"
2+
version = "3.0.2"
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)