diff options
author | Mike Taves <mwtoews@gmail.com> | 2020-02-05 08:21:51 +1300 |
---|---|---|
committer | Mike Taves <mwtoews@gmail.com> | 2020-02-06 22:16:23 +1300 |
commit | 07bf33fbf5be8143aab037dc65aba3086f8badf6 (patch) | |
tree | 8f48992ca38bafe589ed331f54c43106ba23902d /tools/openblas_support.py | |
parent | a9bc5db4671c6c702e3a8a35fbf31b8d3225fad2 (diff) | |
download | numpy-07bf33fbf5be8143aab037dc65aba3086f8badf6.tar.gz |
MAINT: cleanup unused imports; avoid redefinition of imports
* Cleanup unused imports (F401) of mostly standard Python modules,
or some internal but unlikely referenced modules
* Where internal imports are potentially used, mark with noqa
* Avoid redefinition of imports (F811)
Diffstat (limited to 'tools/openblas_support.py')
-rw-r--r-- | tools/openblas_support.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/openblas_support.py b/tools/openblas_support.py index 091514d08..add6a2ecd 100644 --- a/tools/openblas_support.py +++ b/tools/openblas_support.py @@ -103,7 +103,6 @@ def setup_openblas(arch=get_arch(), ilp64=get_ilp64()): return unpack_targz(tmp) def unpack_windows_zip(fname): - import sysconfig with zipfile.ZipFile(fname, 'r') as zf: # Get the openblas.a file, but not openblas.dll.a nor openblas.dev.a lib = [x for x in zf.namelist() if OPENBLAS_LONG in x and |