diff --git a/.pylintrc b/.pylintrc index ba43479cf72f7408bcab48c34b259c0e6a84bb4c..c549bd6f925fa8c8d331bd32228f0f3539665f6b 100644 --- a/.pylintrc +++ b/.pylintrc @@ -46,7 +46,6 @@ disable= R1720, # no-else-raise R5101, # http-response-with-json-dumps R5102, # http-response-with-content-type-json - W0603, # global-statement W1308, # duplicate-string-formatting-argument W5104, # modelform-uses-exclude R0911, # too-many-return-statements diff --git a/smash/web/tests/functions.py b/smash/web/tests/functions.py index 00f43391d4d697df2dbb7c8eb98efed74f19e192..a13c4651928a18c45a15149e78f2f2bae4e3991d 100644 --- a/smash/web/tests/functions.py +++ b/smash/web/tests/functions.py @@ -75,7 +75,7 @@ TEST_ID_COUNTER = 0 def get_test_id(): - global TEST_ID_COUNTER + global TEST_ID_COUNTER # pylint: disable=global-statement result = str(TEST_ID_COUNTER) TEST_ID_COUNTER += 1 return result