Skip to content
Snippets Groups Projects
Commit 02ec5304 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

this global statement warning can be ignored

parent cf78fb0d
No related branches found
No related tags found
1 merge request!350Additional pylint checks
...@@ -46,7 +46,6 @@ disable= ...@@ -46,7 +46,6 @@ disable=
R1720, # no-else-raise R1720, # no-else-raise
R5101, # http-response-with-json-dumps R5101, # http-response-with-json-dumps
R5102, # http-response-with-content-type-json R5102, # http-response-with-content-type-json
W0603, # global-statement
W1308, # duplicate-string-formatting-argument W1308, # duplicate-string-formatting-argument
W5104, # modelform-uses-exclude W5104, # modelform-uses-exclude
R0911, # too-many-return-statements R0911, # too-many-return-statements
......
...@@ -75,7 +75,7 @@ TEST_ID_COUNTER = 0 ...@@ -75,7 +75,7 @@ TEST_ID_COUNTER = 0
def get_test_id(): def get_test_id():
global TEST_ID_COUNTER global TEST_ID_COUNTER # pylint: disable=global-statement
result = str(TEST_ID_COUNTER) result = str(TEST_ID_COUNTER)
TEST_ID_COUNTER += 1 TEST_ID_COUNTER += 1
return result return result
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment