Merge "ignore python2-specific code under python3 for pep8"

This commit is contained in:
Zuul 2018-06-11 12:46:33 +00:00 committed by Gerrit Code Review
commit 6e99f76214
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ NUMERIC_VALUES = [int, float]
if six.PY2:
# according to PEP537 long was renamed to int in PY3
# need to add long, as possible value, for PY2
NUMERIC_VALUES += [long]
NUMERIC_VALUES += [long] # noqa
NUMERIC_VALUES = tuple(NUMERIC_VALUES) # convert to tuple for instance call