@@ -29,6 +29,50 @@ Marc Byrne became a maintainer, welcome to the team !
29
29
30
30
.. towncrier release notes start
31
31
32
+
33
+ What's new in Pylint 2.15.1?
34
+ ----------------------------
35
+ Release date: 2022-09-06
36
+
37
+ - Fix ``used-before-assignment `` for functions/classes defined in type checking guard.
38
+
39
+ Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368 >`_)
40
+ - Update ``modified_iterating `` checker to fix a crash with ``for `` loops on empty list.
41
+
42
+ Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380 >`_)
43
+ - The ``docparams `` extension now considers typing in Numpy style docstrings
44
+ as "documentation" for the ``missing-param-doc `` message.
45
+
46
+ Refs #7398 (`#7398 <https://github.com/PyCQA/pylint/issues/7398 >`_)
47
+ - Fix false positive for ``unused-variable `` and ``unused-import `` when a name is only used in a string literal type annotation.
48
+
49
+ Closes #3299 (`#3299 <https://github.com/PyCQA/pylint/issues/3299 >`_)
50
+ - Fix false positive for ``too-many-function-args `` when a function call is assigned to a class attribute inside the class where the function is defined.
51
+
52
+ Closes #6592 (`#6592 <https://github.com/PyCQA/pylint/issues/6592 >`_)
53
+ - Fix ``used-before-assignment `` for functions/classes defined in type checking guard.
54
+
55
+ Closes #7368 (`#7368 <https://github.com/PyCQA/pylint/issues/7368 >`_)
56
+ - Fix ignored files being linted when passed on stdin.
57
+
58
+ Closes #4354 (`#4354 <https://github.com/PyCQA/pylint/issues/4354 >`_)
59
+ - ``missing-return-doc ``, ``missing-raises-doc `` and ``missing-yields-doc `` now respect
60
+ the ``no-docstring-rgx `` option.
61
+
62
+ Closes #4743 (`#4743 <https://github.com/PyCQA/pylint/issues/4743 >`_)
63
+ - Don't crash on ``OSError `` in config file discovery.
64
+
65
+ Closes #7169 (`#7169 <https://github.com/PyCQA/pylint/issues/7169 >`_)
66
+ - ``disable-next `` is now correctly scoped to only the succeeding line.
67
+
68
+ Closes #7401 (`#7401 <https://github.com/PyCQA/pylint/issues/7401 >`_)
69
+ - Update ``modified_iterating `` checker to fix a crash with ``for `` loops on empty list.
70
+
71
+ Closes #7380 (`#7380 <https://github.com/PyCQA/pylint/issues/7380 >`_)
72
+
73
+ What's new in Pylint 2.15.0?
74
+ ----------------------------
75
+
32
76
New Checks
33
77
----------
34
78
0 commit comments