summaryrefslogtreecommitdiff
path: root/tests/functional/u/used/used_before_assignment.txt
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2023-04-29 14:32:50 -0400
committerGitHub <noreply@github.com>2023-04-29 20:32:50 +0200
commit1cbc3d818b2b279747ef8d4222262fea4b21cccb (patch)
tree44d31a92a68c3933b87f888192371961d0d5e836 /tests/functional/u/used/used_before_assignment.txt
parent87a4d672a8661aa61d5717fd902315d9563e33b6 (diff)
downloadpylint-git-1cbc3d818b2b279747ef8d4222262fea4b21cccb.tar.gz
Fix false negative for calling module-level function before definition (#8494)
Diffstat (limited to 'tests/functional/u/used/used_before_assignment.txt')
-rw-r--r--tests/functional/u/used/used_before_assignment.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/tests/functional/u/used/used_before_assignment.txt b/tests/functional/u/used/used_before_assignment.txt
index 0a3c9ff2f..37b25ab49 100644
--- a/tests/functional/u/used/used_before_assignment.txt
+++ b/tests/functional/u/used/used_before_assignment.txt
@@ -1,10 +1,12 @@
used-before-assignment:5:19:5:22::Using variable 'MSG' before assignment:HIGH
used-before-assignment:7:20:7:24::Using variable 'MSG2' before assignment:HIGH
used-before-assignment:10:4:10:9:outer:Using variable 'inner' before assignment:HIGH
-used-before-assignment:20:10:20:14:redefine_time_import:Using variable 'time' before assignment:HIGH
-used-before-assignment:34:3:34:7::Using variable 'VAR2' before assignment:CONTROL_FLOW
-used-before-assignment:52:3:52:7::Using variable 'VAR4' before assignment:CONTROL_FLOW
-used-before-assignment:67:3:67:7::Using variable 'VAR6' before assignment:CONTROL_FLOW
-used-before-assignment:102:6:102:11::Using variable 'VAR10' before assignment:CONTROL_FLOW
-used-before-assignment:133:10:133:14::Using variable 'SALE' before assignment:CONTROL_FLOW
-used-before-assignment:165:10:165:18::Using variable 'ALL_DONE' before assignment:CONTROL_FLOW
+used-before-assignment:19:20:19:40:ClassWithProperty:Using variable 'redefine_time_import' before assignment:HIGH
+used-before-assignment:23:0:23:9::Using variable 'calculate' before assignment:HIGH
+used-before-assignment:31:10:31:14:redefine_time_import:Using variable 'time' before assignment:HIGH
+used-before-assignment:45:3:45:7::Using variable 'VAR2' before assignment:CONTROL_FLOW
+used-before-assignment:63:3:63:7::Using variable 'VAR4' before assignment:CONTROL_FLOW
+used-before-assignment:78:3:78:7::Using variable 'VAR6' before assignment:CONTROL_FLOW
+used-before-assignment:113:6:113:11::Using variable 'VAR10' before assignment:CONTROL_FLOW
+used-before-assignment:144:10:144:14::Using variable 'SALE' before assignment:CONTROL_FLOW
+used-before-assignment:176:10:176:18::Using variable 'ALL_DONE' before assignment:CONTROL_FLOW