Skip to content

Commit

Permalink
FIX: LGTM recommendations: Unused import
Browse files Browse the repository at this point in the history
Import of '...' is not used.

https://lgtm.com/rules/6770079/
  • Loading branch information
DimitriPapadopoulos committed Aug 9, 2021
1 parent 7f0373d commit e677a67
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion nibabel/pydicom_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
# Module has (apparently) unused imports; stop flake8 complaining
# flake8: noqa

import numpy as np
from .deprecated import deprecate_with_version

have_dicom = True
Expand Down
3 changes: 0 additions & 3 deletions nisext/py3builder.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
""" distutils utilities for porting to python 3 within 2-compatible tree """


import sys
import re

try:
from distutils.command.build_py import build_py_2to3
except ImportError:
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"""Build helper."""

import sys
import os

from setuptools import setup
import versioneer
Expand Down
2 changes: 0 additions & 2 deletions tools/make_tarball.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

import commands
import os
import sys
import shutil

from toollib import *

Expand Down
2 changes: 0 additions & 2 deletions tools/mpkg_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
__docformat__ = 'restructuredtext'

import sys
import setuptools
import bdist_mpkg

def main():
del sys.argv[0]
Expand Down

0 comments on commit e677a67

Please sign in to comment.