]> Devi Nivas Git - chevron.git/commitdiff
Fix flake8 not realizing this line is python2
authorNoah Morrison <noah@morrison.ph>
Wed, 3 Oct 2018 14:19:59 +0000 (10:19 -0400)
committerNoah Morrison <noah@morrison.ph>
Wed, 3 Oct 2018 14:19:59 +0000 (10:19 -0400)
chevron/renderer.py

index 075eec6e636cb1c2fed3ef6bea01fceae5751458..788e2bb799ebe35de2224aa1b8a0160ccb76e05b 100644 (file)
@@ -24,7 +24,7 @@ if sys.version_info[0] == 3:
 else:  # python 2
     python3 = False
     unicode_type = unicode
-    string_type = basestring
+    string_type = basestring  # noqa: F821 (This is defined in python2)
 
 
 #