@@ -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+
32107What's new in Pylint 2.17.4?
33108----------------------------
34109Release date: 2023-05-06
0 commit comments