@@ -29,6 +29,58 @@ so we find problems before the actual release.
29
29
30
30
.. towncrier release notes start
31
31
32
+ What's new in Pylint 2.17.1?
33
+ ----------------------------
34
+ Release date: 2023-03-22
35
+
36
+
37
+ False Positives Fixed
38
+ ---------------------
39
+
40
+ - Adds ``asyncSetUp `` to the default ``defining-attr-methods `` list to silence
41
+ ``attribute-defined-outside-init `` warning when using
42
+ ``unittest.IsolatedAsyncioTestCase ``.
43
+
44
+ Refs #8403 (`#8403 <https://github.com/PyCQA/pylint/issues/8403 >`_)
45
+
46
+
47
+
48
+ Other Bug Fixes
49
+ ---------------
50
+
51
+ - ``--clear-cache-post-run `` now also clears LRU caches for pylint utilities
52
+ holding references to AST nodes.
53
+
54
+ Closes #8361 (`#8361 <https://github.com/PyCQA/pylint/issues/8361 >`_)
55
+
56
+ - Fix a crash when ``TYPE_CHECKING `` is used without importing it.
57
+
58
+ Closes #8434 (`#8434 <https://github.com/PyCQA/pylint/issues/8434 >`_)
59
+
60
+ - Fix a regression of ``preferred-modules `` where a partial match was used
61
+ instead of the required full match.
62
+
63
+ Closes #8453 (`#8453 <https://github.com/PyCQA/pylint/issues/8453 >`_)
64
+
65
+
66
+
67
+ Internal Changes
68
+ ----------------
69
+
70
+ - The following utilities are deprecated in favor of the more robust
71
+ ``in_type_checking_block ``
72
+ and will be removed in pylint 3.0:
73
+
74
+ - ``is_node_in_guarded_import_block ``
75
+ - ``is_node_in_typing_guarded_import_block ``
76
+ - ``is_typing_guard ``
77
+
78
+ ``is_sys_guard `` is still available, which was part of
79
+ ``is_node_in_guarded_import_block ``.
80
+
81
+ Refs #8433 (`#8433 <https://github.com/PyCQA/pylint/issues/8433 >`_)
82
+
83
+
32
84
What's new in Pylint 2.17.0?
33
85
----------------------------
34
86
Release date: 2023-03-08
0 commit comments