From ae5f2c5f09dba76318253bcc8f06c7fe0fca25c6 Mon Sep 17 00:00:00 2001 From: erigler-usgs <erigler@usgs.gov> Date: Tue, 2 Jul 2019 21:04:21 -0600 Subject: [PATCH] Remove `import sys` To satisfy flake8, and not trigger the F401 error, it was necessary to remove `import sys`, since it was no longer being used. This error slipped through Travis-CI because @erigler-usgs got impatient waiting for Travis-CI to complete for a very simple PR and merged it before all tests were complete. Lesson learned. --- geomagio/algorithm/SqDistAlgorithm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/geomagio/algorithm/SqDistAlgorithm.py b/geomagio/algorithm/SqDistAlgorithm.py index c930b118e..afeb5618e 100644 --- a/geomagio/algorithm/SqDistAlgorithm.py +++ b/geomagio/algorithm/SqDistAlgorithm.py @@ -18,7 +18,6 @@ from .Algorithm import Algorithm from .AlgorithmException import AlgorithmException import json import numpy as np -import sys from obspy.core import Stream, UTCDateTime from scipy.optimize import fmin_l_bfgs_b -- GitLab