@@ -29,6 +29,71 @@ Marc Byrne became a maintainer, welcome to the team !
2929
3030.. towncrier release notes start
3131
32+ What's new in Pylint 2.15.4?
33+ ----------------------------
34+ Release date: 2022-10-10
35+
36+
37+ False Positives Fixed
38+ ---------------------
39+
40+ - Fix the message for ``unnecessary-dunder-call `` for ``__aiter__ `` and
41+ ``__aneext__ ``. Also
42+ only emit the warning when ``py-version `` >= 3.10.
43+
44+ Closes #7529 (`#7529 <https://github.com/PyCQA/pylint/issues/7529 >`_)
45+
46+
47+
48+ Other Bug Fixes
49+ ---------------
50+
51+ - Fix bug in detecting ``unused-variable `` when iterating on variable.
52+
53+ Closes #3044 (`#3044 <https://github.com/PyCQA/pylint/issues/3044 >`_)
54+
55+ - Fixed handling of ``-- `` as separator between positional arguments and flags.
56+ This was not actually fixed in 2.14.5.
57+
58+ Closes #7003, Refs #7096 (`#7003
59+ <https://github.com/PyCQA/pylint/issues/7003> `_)
60+
61+ - Report ``no-self-argument `` rather than ``no-method-argument `` for methods
62+ with variadic arguments.
63+
64+ Closes #7507 (`#7507 <https://github.com/PyCQA/pylint/issues/7507 >`_)
65+
66+ - Fixed an issue where ``syntax-error `` couldn't be raised on files with
67+ invalid encodings.
68+
69+ Closes #7522 (`#7522 <https://github.com/PyCQA/pylint/issues/7522 >`_)
70+
71+ - Fix false positive for ``redefined-outer-name `` when aliasing ``typing ``
72+ e.g. as ``t `` and guarding imports under ``t.TYPE_CHECKING ``.
73+
74+ Closes #7524 (`#7524 <https://github.com/PyCQA/pylint/issues/7524 >`_)
75+
76+ - Fixed a crash of the ``modified_iterating `` checker when iterating on a set
77+ defined as a class attribute.
78+
79+ Closes #7528 (`#7528 <https://github.com/PyCQA/pylint/issues/7528 >`_)
80+
81+ - Fix bug in scanning of names inside arguments to `typing.Literal `.
82+ See https://peps.python.org/pep-0586/#literals-enums-and-forward-references
83+ for details.
84+
85+ Refs #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299 >`_)
86+
87+
88+ Other Changes
89+ -------------
90+
91+ - Add method name to the error messages of ``no-method-argument `` and
92+ ``no-self-argument ``.
93+
94+ Closes #7507 (`#7507 <https://github.com/PyCQA/pylint/issues/7507 >`_)
95+
96+
3297What's new in Pylint 2.15.3?
3398----------------------------
3499Release date: 2022-09-19
0 commit comments