compat: Ignore some py2-only builtins when running flake8 on py3
This commit is contained in:
parent
ee555ff09d
commit
41c906c912
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user