14except ImportError:
15 from distutils.core import setup
16 from distutils.command.sdist import sdist as sdist
17 from distutils.command.install import install as install 18 HAVE_SETUPTOOLS = False
19from gitsome.__init__ import __version__ as VERSION
20
13 HAVE_SETUPTOOLS = True
14except ImportError:
15 from distutils.core import setup
16 from distutils.command.sdist import sdist as sdist 17 from distutils.command.install import install as install
18 HAVE_SETUPTOOLS = False
19from gitsome.__init__ import __version__ as VERSION
Import alias is same as original package name, thus making the alias unnecessary. This is probably not what's intended.
import my_package as my_package
import my_package as mp
or, remove the import alias
import my_package
_Note: During autofix, DeepSource will remove the unnecessary alias._