summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-10-23 17:43:07 +0200
committerGitHub <noreply@github.com>2021-10-23 17:43:07 +0200
commit91f525f276ce73c436949a6128709f2dea99e64e (patch)
tree5ae017035e6cad129d8500e44dbc270c4489081a /doc
parent8b60e428457fb1125f61bd97296665aef53eefb8 (diff)
downloadpylint-git-91f525f276ce73c436949a6128709f2dea99e64e.tar.gz
Make ``used-before-assignment`` consider classes in method annotation and defaults (#5184)
This closes #3771 Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> 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 f98406800..2a6c321fe 100644
--- a/doc/whatsnew/2.12.rst
+++ b/doc/whatsnew/2.12.rst
@@ -77,6 +77,11 @@ Other Changes
Closes #4031
+* ``used-before-assignment`` now correctly considers references to classes as type annotation
+ or default values in first-level methods
+
+ Closes #3771
+
* Fix double emitting of ``not-callable`` on inferrable ``properties``
Closes #4426