Skip to content

Commit cb72438

Browse files
FIX: LGTM recommendations: Unused import
Import of '...' is not used. https://lgtm.com/rules/6770079/
1 parent bcb41dd commit cb72438

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

nibabel/pydicom_compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
# Module has (apparently) unused imports; stop flake8 complaining
2424
# flake8: noqa
2525

26-
import numpy as np
2726
from .deprecated import deprecate_with_version
2827

2928
have_dicom = True

nisext/py3builder.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
""" distutils utilities for porting to python 3 within 2-compatible tree """
22

33

4-
import sys
5-
import re
6-
74
try:
85
from distutils.command.build_py import build_py_2to3
96
except ImportError:

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"""Build helper."""
1111

1212
import sys
13-
import os
1413

1514
from setuptools import setup
1615
import versioneer

tools/make_tarball.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
import commands
66
import os
7-
import sys
8-
import shutil
97

108
from toollib import *
119

tools/mpkg_wrapper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
__docformat__ = 'restructuredtext'
1717

1818
import sys
19-
import setuptools
20-
import bdist_mpkg
2119

2220
def main():
2321
del sys.argv[0]

0 commit comments

Comments
 (0)