From 05548a373f780c512bc7f7a12a18173d19437b12 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Thu, 16 Apr 2020 15:04:22 -0700 Subject: Switch to flake8 for static code analysis (#1328) flake8 catches a wider net of mistakes than pycodestyle and is more commonly used by the larger community. For example, it catches unused imports, a few of which existed. These have since been removed. Two "noqa" comments were added. One ignores the _compat.py file as it has a large amount of Python version specific code. The second is in utils.py which intentionally does not use an import. --- benchmarks/command_packer_benchmark.py | 1 - 1 file changed, 1 deletion(-) (limited to 'benchmarks/command_packer_benchmark.py') diff --git a/benchmarks/command_packer_benchmark.py b/benchmarks/command_packer_benchmark.py index dae6fa4..1216df6 100644 --- a/benchmarks/command_packer_benchmark.py +++ b/benchmarks/command_packer_benchmark.py @@ -1,5 +1,4 @@ import socket -import sys from redis.connection import (Connection, SYM_STAR, SYM_DOLLAR, SYM_EMPTY, SYM_CRLF) from redis._compat import imap -- cgit v1.2.1