Skip to content

Commit fe161df

Browse files
Bump pylint to 2.17.5, update changelog (#8887)
1 parent 50d924b commit fe161df

18 files changed

+80
-42
lines changed

CONTRIBUTORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ contributors:
547547
- Arun Persaud <[email protected]>
548548
- Arthur Lutz <[email protected]>
549549
- Antonio Ossa <[email protected]>
550+
- Antonio <[email protected]>
550551
- Anthony VEREZ <[email protected]>
551552
- Anthony Tan <[email protected]>
552553
- Anthony Foglia <[email protected]> (Google): Added simple string slots check.

doc/user_guide/configuration/all-options.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ Standard Checkers
233233
234234
confidence = ["HIGH", "CONTROL_FLOW", "INFERENCE", "INFERENCE_FAILURE", "UNDEFINED"]
235235
236-
disable = ["raw-checker-failed", "bad-inline-option", "locally-disabled", "file-ignored", "suppressed-message", "useless-suppression", "deprecated-pragma", "use-symbolic-message-instead", "consider-using-augmented-assign"]
236+
disable = ["consider-using-augmented-assign"]
237237
238238
enable = []
239239

doc/whatsnew/2/2.17/index.rst

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

3030
.. towncrier release notes start
3131
32+
What's new in Pylint 2.17.5?
33+
----------------------------
34+
Release date: 2023-07-26
35+
36+
37+
False Positives Fixed
38+
---------------------
39+
40+
- Fix a false positive for ``unused-variable`` when there is an import in a
41+
``if TYPE_CHECKING:`` block and ``allow-global-unused-variables`` is set to
42+
``no`` in the configuration.
43+
44+
Closes #8696 (`#8696 <https://github.com/pylint-dev/pylint/issues/8696>`_)
45+
46+
- Fix false positives generated when supplying arguments as ``**kwargs`` to IO
47+
calls like open().
48+
49+
Closes #8719 (`#8719 <https://github.com/pylint-dev/pylint/issues/8719>`_)
50+
51+
- Fix a false positive where pylint was ignoring method calls annotated as
52+
``NoReturn`` during the ``inconsistent-return-statements`` check.
53+
54+
Closes #8747 (`#8747 <https://github.com/pylint-dev/pylint/issues/8747>`_)
55+
56+
- Exempt parents with only type annotations from the ``invalid-enum-extension``
57+
message.
58+
59+
Closes #8830 (`#8830 <https://github.com/pylint-dev/pylint/issues/8830>`_)
60+
61+
62+
63+
Other Bug Fixes
64+
---------------
65+
66+
- Fixed crash when a call to ``super()`` was placed after an operator (e.g.
67+
``not``).
68+
69+
Closes #8554 (`#8554 <https://github.com/pylint-dev/pylint/issues/8554>`_)
70+
71+
- Fix crash for ``modified-while-iterating`` checker when deleting
72+
members of a dict returned from a call.
73+
74+
Closes #8598 (`#8598 <https://github.com/pylint-dev/pylint/issues/8598>`_)
75+
76+
- Fix crash in ``invalid-metaclass`` check when a metaclass had duplicate
77+
bases.
78+
79+
Closes #8698 (`#8698 <https://github.com/pylint-dev/pylint/issues/8698>`_)
80+
81+
- Avoid ``consider-using-f-string`` on modulos with brackets in template.
82+
83+
Closes #8720. (`#8720 <https://github.com/pylint-dev/pylint/issues/8720>`_)
84+
85+
- Fix a crash when ``__all__`` exists but cannot be inferred.
86+
87+
Closes #8740 (`#8740 <https://github.com/pylint-dev/pylint/issues/8740>`_)
88+
89+
- Fix crash when a variable is assigned to a class attribute of identical name.
90+
91+
Closes #8754 (`#8754 <https://github.com/pylint-dev/pylint/issues/8754>`_)
92+
93+
- Fixed a crash when calling ``copy.copy()`` without arguments.
94+
95+
Closes #8774 (`#8774 <https://github.com/pylint-dev/pylint/issues/8774>`_)
96+
97+
98+
99+
Other Changes
100+
-------------
101+
102+
- Fix a crash when a ``nonlocal`` is defined at module-level.
103+
104+
Closes #8735 (`#8735 <https://github.com/pylint-dev/pylint/issues/8735>`_)
105+
106+
32107
What's new in Pylint 2.17.4?
33108
----------------------------
34109
Release date: 2023-05-06

doc/whatsnew/fragments/8554.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8598.bugfix

-4
This file was deleted.

doc/whatsnew/fragments/8696.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8698.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8719.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8720.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8735.other

-3
This file was deleted.

doc/whatsnew/fragments/8740.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8747.false_positive

-3
This file was deleted.

doc/whatsnew/fragments/8754.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8774.bugfix

-3
This file was deleted.

doc/whatsnew/fragments/8830.false_positive

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