summaryrefslogtreecommitdiff
path: root/redis
diff options
context:
space:
mode:
Diffstat (limited to 'redis')
-rw-r--r--redis/_compat.py1
-rwxr-xr-xredis/client.py1
-rwxr-xr-xredis/connection.py1
-rw-r--r--redis/utils.py2
4 files changed, 2 insertions, 3 deletions
diff --git a/redis/_compat.py b/redis/_compat.py
index 146e37d..a0036de 100644
--- a/redis/_compat.py
+++ b/redis/_compat.py
@@ -1,4 +1,5 @@
"""Internal module for Python 2 backwards compatibility."""
+# flake8: noqa
import errno
import socket
import sys
diff --git a/redis/client.py b/redis/client.py
index 7454321..cc77515 100755
--- a/redis/client.py
+++ b/redis/client.py
@@ -1,7 +1,6 @@
from __future__ import unicode_literals
from itertools import chain
import datetime
-import sys
import warnings
import time
import threading
diff --git a/redis/connection.py b/redis/connection.py
index a13bcd3..99c5f23 100755
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -6,7 +6,6 @@ import errno
import io
import os
import socket
-import sys
import threading
import warnings
diff --git a/redis/utils.py b/redis/utils.py
index 0b0067e..6ef6fd4 100644
--- a/redis/utils.py
+++ b/redis/utils.py
@@ -2,7 +2,7 @@ from contextlib import contextmanager
try:
- import hiredis
+ import hiredis # noqa
HIREDIS_AVAILABLE = True
except ImportError:
HIREDIS_AVAILABLE = False