From b466c1c90cb7a3f01f40dbdde46dde36dc1820b8 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 27 Mar 2018 02:47:57 +0200 Subject: [PATCH] cleanup: Ensure code is pyflakes-clean for CI --- qa/rpc-tests/wallet_anchorfork.py | 1 - qa/rpc-tests/zkey_import_export.py | 1 - qa/zcash/create_benchmark_archive.py | 1 - src/test/bctest.py | 1 - zcutil/release-notes.py | 2 +- 5 files changed, 1 insertion(+), 5 deletions(-) diff --git a/qa/rpc-tests/wallet_anchorfork.py b/qa/rpc-tests/wallet_anchorfork.py index a4df66daf..0e2d19385 100755 --- a/qa/rpc-tests/wallet_anchorfork.py +++ b/qa/rpc-tests/wallet_anchorfork.py @@ -4,7 +4,6 @@ # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import BitcoinTestFramework -from test_framework.authproxy import JSONRPCException from test_framework.util import assert_equal, initialize_chain_clean, \ start_nodes, stop_nodes, connect_nodes_bi, \ wait_and_assert_operationid_status, wait_bitcoinds diff --git a/qa/rpc-tests/zkey_import_export.py b/qa/rpc-tests/zkey_import_export.py index 323debe31..65a80b9fb 100755 --- a/qa/rpc-tests/zkey_import_export.py +++ b/qa/rpc-tests/zkey_import_export.py @@ -9,7 +9,6 @@ from test_framework.util import assert_equal, assert_greater_than, start_nodes,\ initialize_chain_clean, connect_nodes_bi, wait_and_assert_operationid_status import logging -import time import math logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.INFO) diff --git a/qa/zcash/create_benchmark_archive.py b/qa/zcash/create_benchmark_archive.py index 67ad5b101..84bd236de 100644 --- a/qa/zcash/create_benchmark_archive.py +++ b/qa/zcash/create_benchmark_archive.py @@ -5,7 +5,6 @@ import plyvel import progressbar import os import stat -import struct import subprocess import sys import tarfile diff --git a/src/test/bctest.py b/src/test/bctest.py index 3a8d0ea51..86724241b 100644 --- a/src/test/bctest.py +++ b/src/test/bctest.py @@ -3,7 +3,6 @@ # file COPYING or http://www.opensource.org/licenses/mit-license.php. import subprocess -import os import json import sys diff --git a/zcutil/release-notes.py b/zcutil/release-notes.py index 01f658f07..4807f84e6 100755 --- a/zcutil/release-notes.py +++ b/zcutil/release-notes.py @@ -1,4 +1,4 @@ -import re, sys, os, os.path +import re, os, os.path import subprocess import argparse from itertools import islice