Skip to content

Commit

Permalink
Fix flake8 on Python 3 objecting to Py2 code
Browse files Browse the repository at this point in the history
  • Loading branch information
bmerry committed Mar 23, 2018
1 parent ccec029 commit 5bfa56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fakeredis.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

if PY2:
DEFAULT_ENCODING = 'utf-8'
int_types = (int, long)
int_types = (int, long) # noqa: F821
text_type = unicode # noqa: F821
string_types = (str, unicode) # noqa: F821
redis_string_types = (str, unicode, bytes) # noqa: F821
Expand Down

0 comments on commit 5bfa56a

Please sign in to comment.