From 2ea4de43fe2e0160e27b605f2c65f33c5a2083d7 Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Wed, 12 Jul 2017 12:13:34 +0200 Subject: update to flake8==3.3.0 with --ignore F405 --- compat.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'compat.py') diff --git a/compat.py b/compat.py index 41c52e7..7fffedf 100644 --- a/compat.py +++ b/compat.py @@ -67,7 +67,7 @@ else: def to_unicode(s): # type: (str) -> unicode - return unicode(s) + return unicode(s) # NOQA if PY3: string_types = str @@ -83,10 +83,10 @@ if PY3: BytesIO = io.BytesIO else: - string_types = basestring - integer_types = (int, long) + string_types = basestring # NOQA + integer_types = (int, long) # NOQA class_types = (type, types.ClassType) - text_type = unicode + text_type = unicode # NOQA binary_type = str # to allow importing @@ -114,6 +114,7 @@ def with_metaclass(meta, *bases): """Create a base class with a metaclass.""" return meta("NewBase", bases, {}) + DBG_TOKEN = 1 DBG_EVENT = 2 DBG_NODE = 4 -- cgit v1.2.1