Detect duplicate imports
Project description
dupimport
Find things you imported twice in your python code, when you probably only needed to import once.
Installation
pip install dupimport
Usage
Use on a file: dupimport path/to/file.py
or use on a folder:
dupimport .
dupimport path/to/folder/
Caveats
Imports in an if
statement may be okay
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dupimport-1.0.0.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for dupimport-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9424b4e434c80edebdc81a9cdf9fd409de3047e917f58fdca81044368f0d2338 |
|
MD5 | 639a7a85c1e9214182ba84957b554069 |
|
BLAKE2b-256 | fe57f3d96c6c304dfc8551fee0c8ff85a6dae0f81142d4d12745361713f630bc |