diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-07-12 12:13:34 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-07-12 12:13:34 +0200 |
commit | 2ea4de43fe2e0160e27b605f2c65f33c5a2083d7 (patch) | |
tree | ddd268394e9fa05011585fd326cb4f635f0510a1 /compat.py | |
parent | ae5b5638efc9f20c027aac28f52dbfe0fc955998 (diff) | |
download | ruamel.yaml-2ea4de43fe2e0160e27b605f2c65f33c5a2083d7.tar.gz |
update to flake8==3.3.0 with --ignore F405
Diffstat (limited to 'compat.py')
-rw-r--r-- | compat.py | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -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 |