Skip to content

Commit 06c4972

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

smmap/util.py

Lines changed: 1 addition & 1 deletion
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)