summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-04-16 20:50:34 -0400
committerGitHub <noreply@github.com>2023-04-16 20:50:34 -0400
commitf45bf090a8e20c9fb09d61ed67d7f885ad354f85 (patch)
treedc3b4375c7599d252b2ac7aae7e2d7ef53748da7 /doc
parent4a485e28f0a5118b37550123c79f1f6d0dec42a4 (diff)
downloadpylint-git-f45bf090a8e20c9fb09d61ed67d7f885ad354f85.tar.gz
Fix FP `used-before-assignment` for statements guarded under same test (#8581)
Diffstat (limited to 'doc')
-rw-r--r--doc/whatsnew/fragments/8167.false_positive4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/whatsnew/fragments/8167.false_positive b/doc/whatsnew/fragments/8167.false_positive
new file mode 100644
index 000000000..e0c341f65
--- /dev/null
+++ b/doc/whatsnew/fragments/8167.false_positive
@@ -0,0 +1,4 @@
+Fix false positive for ``used-before-assignment`` when usage and assignment
+are guarded by the same test in different statements.
+
+Closes #8167