File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/it/test-projects/creedengo-python-plugin-test-project/src Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def print_global_var_details():
2525 assert len (global_var ) > 0 , 'Failed' # Noncompliant {{Use local variable (function/class scope) instead of global variable (application scope)}}
2626 assert len ('test' ) > 0 , 'Failed : ' + global_var # Noncompliant {{Use local variable (function/class scope) instead of global variable (application scope)}}
2727 test = ''
28- test += global_var # Noncompliant
28+ test += global_var # Noncompliant {{Use local variable (function/class scope) instead of global variable (application scope)}}
2929 test = {'test' : global_var , 'global_var' : 1 } # Noncompliant {{Use local variable (function/class scope) instead of global variable (application scope)}}
3030
3131# Compliant
You can’t perform that action at this time.
0 commit comments