Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jakeroggenbuck/importlint
Check and fix your module and package imports in python files
https://github.com/jakeroggenbuck/importlint
Last synced: 5 days ago
JSON representation
Check and fix your module and package imports in python files
- Host: GitHub
- URL: https://github.com/jakeroggenbuck/importlint
- Owner: JakeRoggenbuck
- License: mit
- Created: 2020-11-08T07:55:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-10T20:10:33.000Z (about 4 years ago)
- Last Synced: 2024-08-09T04:47:45.861Z (3 months ago)
- Language: Python
- Homepage: https://pypi.org/project/importlint/
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ImportLint
Check and fix your module and package imports in python files# Use
#### Check
`importlint check test.py`#### fix
`importlint fix test.py`# Install
`pip install importlint`# TODO
### Make command line interface for
- Audit file (Done)
- Correct file in place (Done)### Make features: a = can audit, c = can correct
- [c] Sort imports alphabetically
- [a] Check for use of * in imports
- [] Check for unused imports
- [] Check for no imports for used module
- [] Consolidate multiple similar imports into one line### Package for pypi
- Make a setup.py
- Publish package!