compat: Ignore some py2-only builtins when running flake8 on py3

This commit is contained in:
Stein Magnus Jodal 2015-10-29 22:20:03 +01:00
parent ee555ff09d
commit 41c906c912

View File

@ -29,12 +29,12 @@ if PY2:
urllib = fake_python3_urllib_module()
integer_types = (int, long)
string_types = basestring
text_type = unicode
integer_types = (int, long) # noqa
string_types = basestring # noqa
text_type = unicode # noqa
input = raw_input
intern = intern
input = raw_input # noqa
intern = intern # noqa
def itervalues(dct, **kwargs):
return iter(dct.itervalues(**kwargs))