Skip to content

Commit 389e14c

Browse files
Bump pylint to 2.17.3, update changelog (#8620)
1 parent 3fc153a commit 389e14c

14 files changed

+63
-33
lines changed

CONTRIBUTORS.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,10 @@ contributors:
130130
- Eli Fine <[email protected]> (eli88fine): Fixed false positive duplicate code warning for lines with symbols only
131131
- Andrew Haigh <[email protected]> (nelfin)
132132
- Émile Crater <[email protected]>
133+
- Yilei "Dolee" Yang <[email protected]>
133134
- Pavel Roskin <[email protected]>
134135
- David Gilman <[email protected]>
135136
- へーさん <[email protected]>
136-
- Yilei "Dolee" Yang <[email protected]>
137137
- Thomas Hisch <[email protected]>
138138
- Marianna Polatoglou <[email protected]>: minor contribution for wildcard import check
139139
- Manuel Vázquez Acosta <[email protected]>
@@ -206,6 +206,7 @@ contributors:
206206
- chohner <[email protected]>
207207
- Tiago Honorato <[email protected]>
208208
- Steven M. Vascellaro <[email protected]>
209+
- Rogdham <[email protected]>
209210
- Robin Tweedie <[email protected]>
210211
- Roberto Leinardi <[email protected]>: PyCharm plugin maintainer
211212
- Ricardo Gemignani <[email protected]>
@@ -254,7 +255,6 @@ contributors:
254255
- Scott Worley <[email protected]>
255256
- Saugat Pachhai <[email protected]>
256257
- Rémi Cardona <[email protected]>
257-
- Rogdham <[email protected]>
258258
- Raphael Gaschignard <[email protected]>
259259
- Ram Rachum <[email protected]> (cool-RR)
260260
- Radostin Stoyanov <[email protected]>

doc/whatsnew/2/2.17/index.rst

+58
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,64 @@ so we find problems before the actual release.
2929

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.17.3?
33+
----------------------------
34+
Release date: 2023-04-24
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- Fix `unused-argument` false positive when `__new__` does not use all the
41+
arguments of `__init__`.
42+
43+
Closes #3670 (`#3670 <https://github.com/PyCQA/pylint/issues/3670>`_)
44+
45+
- Fix ``unused-import`` false positive for usage of ``six.with_metaclass``.
46+
47+
Closes #7506 (`#7506 <https://github.com/PyCQA/pylint/issues/7506>`_)
48+
49+
- `logging-not-lazy` is not longer emitted for explicitly concatenated string
50+
arguments.
51+
52+
Closes #8410 (`#8410 <https://github.com/PyCQA/pylint/issues/8410>`_)
53+
54+
- Fix false positive for isinstance-second-argument-not-valid-type when union
55+
types contains None.
56+
57+
Closes #8424 (`#8424 <https://github.com/PyCQA/pylint/issues/8424>`_)
58+
59+
- Fixed `unused-import` so that it observes the `dummy-variables-rgx` option.
60+
61+
Closes #8500 (`#8500 <https://github.com/PyCQA/pylint/issues/8500>`_)
62+
63+
- `Union` typed variables without assignment are no longer treated as
64+
`TypeAlias`.
65+
66+
Closes #8540 (`#8540 <https://github.com/PyCQA/pylint/issues/8540>`_)
67+
68+
- Fix false positive for ``positional-only-arguments-expected`` when a function
69+
contains both a positional-only parameter that has a default value, and
70+
``**kwargs``.
71+
72+
Closes #8555 (`#8555 <https://github.com/PyCQA/pylint/issues/8555>`_)
73+
74+
- Fix false positive for ``keyword-arg-before-vararg`` when a positional-only
75+
parameter with a default value precedes ``*args``.
76+
77+
Closes #8570 (`#8570 <https://github.com/PyCQA/pylint/issues/8570>`_)
78+
79+
80+
81+
Other Bug Fixes
82+
---------------
83+
84+
- Improve output of ``consider-using-generator`` message for ``min()` calls
85+
with ``default`` keyword.
86+
87+
Closes #8563 (`#8563 <https://github.com/PyCQA/pylint/issues/8563>`_)
88+
89+
3290
What's new in Pylint 2.17.2?
3391
----------------------------
3492
Release date: 2023-04-03

doc/whatsnew/fragments/3670.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/7506.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8410.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8424.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8500.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8540.false_positive

-4
This file was deleted.

doc/whatsnew/fragments/8555.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8563.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8570.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__ = "2.17.2"
12+
__version__ = "2.17.3"
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/PyCQA/pylint"
22

33
[version]
4-
current = "2.17.2"
4+
current = "2.17.3"
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 = "2.17.2"
2+
version = "2.17.3"
33
directory = "doc/whatsnew/fragments"
44
filename = "doc/whatsnew/2/2.17/index.rst"
55
template = "doc/whatsnew/fragments/_template.rst"

0 commit comments

Comments
 (0)