Skip to content

Commit 06c4972

Browse files
committed
Ignore Flake8 undefined name error for Python 2 support
1 parent 93c7ba6 commit 06c4972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smmap/util.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def string_types():
2626
if sys.version_info[0] >= 3:
2727
return str
2828
else:
29-
return basestring
29+
return basestring # noqa: F821
3030

3131

3232
def align_to_mmap(num, round_up):

0 commit comments

Comments
 (0)