# -*- coding: utf-8 -*-
import sys

PY2 = sys.version_info[0] == 2
PY3 = sys.version_info[0] == 3

if PY3:
    string_types = str,
    integer_types = int,
    text_type = str
    binary_type = bytes

    MAXSIZE = sys.maxsize
else:
    string_types = basestring,
    integer_types = (int, long)
    text_type = unicode
    binary_type = str

has_scandir = True


try:
    from scandir import scandir, walk
except ImportError:
    from os import walk
    from os import listdir as scandir
    from os.path import isdir
    has_scandir = False

@@ -256,16 +256,24 @@
 estring,
+  # NOQA
 %0A    int
@@ -296,16 +296,24 @@
 t, long)
+  # NOQA
 %0A    tex
@@ -328,16 +328,24 @@
  unicode
+  # NOQA
 %0A    bin
@@ -467,16 +467,24 @@
 ort walk
+  # NOQA
 %0A    fro
@@ -513,16 +513,24 @@
  scandir
+  # NOQA
 %0A    fro
@@ -551,16 +551,24 @@
 rt isdir
+  # NOQA
 %0A    has

Add NOQA annotations to compat module