From 5bfa56a7d20557cea7b8f777fcde1b3baaa6e177 Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Fri, 23 Mar 2018 10:40:37 +0200 Subject: [PATCH] Fix flake8 on Python 3 objecting to Py2 code --- fakeredis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fakeredis.py b/fakeredis.py index a3e477e..a10d927 100644 --- a/fakeredis.py +++ b/fakeredis.py @@ -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