summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-10-15 13:49:58 +0200
committerGitHub <noreply@github.com>2021-10-15 13:49:58 +0200
commitb1c4735d2897c55e16c5c14b3926ba4b676df8c7 (patch)
tree43e1f97b4f579016070731d9323efc4abf34e367 /doc
parent9ae82580ec70058a6a3f70ccdeb97a2b1ed4df3d (diff)
downloadpylint-git-b1c4735d2897c55e16c5c14b3926ba4b676df8c7.tar.gz
Make ``undefined-variable`` flag type annotation without value assignment (#5158)
Closes #5140 Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/2.12.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/whatsnew/2.12.rst b/doc/whatsnew/2.12.rst
index 68a3dcac4..ec4817eed 100644
--- a/doc/whatsnew/2.12.rst
+++ b/doc/whatsnew/2.12.rst
@@ -52,3 +52,8 @@ Other Changes
* In length checker, ``len-as-condition`` has been renamed as
``use-implicit-booleaness-not-len`` in order to be consistent with
``use-implicit-booleaness-not-comparison``.
+
+* ``undefined-variable`` now correctly flags variables which only receive a type annotations
+ and never get assigned a value
+
+ Closes #5140