From 41c906c9129fb4b540a1b6cfb0e3a4d06c966fd0 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Thu, 29 Oct 2015 22:20:03 +0100 Subject: [PATCH] compat: Ignore some py2-only builtins when running flake8 on py3 --- mopidy/compat.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mopidy/compat.py b/mopidy/compat.py index 97531df7..72abcf66 100644 --- a/mopidy/compat.py +++ b/mopidy/compat.py @@ -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))