@@ -32,6 +32,60 @@ Last but not least @clavedeluna and @nickdrozd became triagers, welcome to the t
32
32
33
33
.. towncrier release notes start
34
34
35
+ What's new in Pylint 2.16.2?
36
+ ----------------------------
37
+ Release date: 2023-02-13
38
+
39
+
40
+ New Features
41
+ ------------
42
+
43
+ - Add `--version ` option to `pyreverse `.
44
+
45
+ Refs #7851 (`#7851 <https://github.com/PyCQA/pylint/issues/7851 >`_)
46
+
47
+
48
+
49
+ False Positives Fixed
50
+ ---------------------
51
+
52
+ - Fix false positive for ``used-before-assignment `` when
53
+ ``typing.TYPE_CHECKING `` is used with if/elif/else blocks.
54
+
55
+ Closes #7574 (`#7574 <https://github.com/PyCQA/pylint/issues/7574 >`_)
56
+
57
+ - Fix false positive for ``used-before-assignment `` for named expressions
58
+ appearing after the first element in a list, tuple, or set.
59
+
60
+ Closes #8252 (`#8252 <https://github.com/PyCQA/pylint/issues/8252 >`_)
61
+
62
+
63
+
64
+ Other Bug Fixes
65
+ ---------------
66
+
67
+ - Fix ``used-before-assignment `` false positive when the walrus operator
68
+ is used with a ternary operator in dictionary key/value initialization.
69
+
70
+ Closes #8125 (`#8125 <https://github.com/PyCQA/pylint/issues/8125 >`_)
71
+
72
+ - Fix ``no-name-in-module `` false positive raised when a package defines a
73
+ variable with the
74
+ same name as one of its submodules.
75
+
76
+ Closes #8148 (`#8148 <https://github.com/PyCQA/pylint/issues/8148 >`_)
77
+
78
+ - Fix ``nested-min-max `` suggestion message to indicate it's possible to splat
79
+ iterable objects.
80
+
81
+ Closes #8168 (`#8168 <https://github.com/PyCQA/pylint/issues/8168 >`_)
82
+
83
+ - Fix a crash happening when a class attribute was negated in the start
84
+ argument of an enumerate.
85
+
86
+ Closes #8207 (`#8207 <https://github.com/PyCQA/pylint/issues/8207 >`_)
87
+
88
+
35
89
What's new in Pylint 2.16.1?
36
90
----------------------------
37
91
Release date: 2023-02-02
0 commit comments