Tool for reordering python imports
Project description
reorder-python-imports-black
Fork of reorder-python-imports for interoperability with black.
pip install reorder-python-imports-black
Black wants a newline between the module docstring and the imports, upstream reorder-python-imports does not.
Neither project wants to change, if you want to use both in your CI they will get into a fight.
The incompatibility is detailed more here.
Why fork?
Someone already attempted to PR a fix in reorder-python-imports #370, but it was promptly closed.
The upstream maintainer closes/locks issues about the incompatibility, appears uninterested (#366, #367, #373, #375...)
Any other differences?
This package also adds an entry point rpi, because it was a drag typing out reorder-python-imports.
The original console script remains, though, and they do the same thing.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reorder_python_imports_black-3.14.0.tar.gz.
File metadata
- Download URL: reorder_python_imports_black-3.14.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
751a56719bdb978034ba427a33095c4658b6cf4447f348bbd0f1570cc5e979ee
|
|
| MD5 |
a4298e5049d3ceefafc1b37761d6c5c9
|
|
| BLAKE2b-256 |
1c5dc7e1d029fa02a99c7df9ee16217484a81bd442e54a996f26b2c6ffd701de
|
File details
Details for the file reorder_python_imports_black-3.14.0-py2.py3-none-any.whl.
File metadata
- Download URL: reorder_python_imports_black-3.14.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b0954b3168d02cda78fa80ef512fb44cf597c8a5a6020dacbdf3642f671971
|
|
| MD5 |
6ab7dad84cc4b310cba4f9f2d7102e92
|
|
| BLAKE2b-256 |
6e0d82e468052c48ffeb0be151ff4af02de57b2c53883edd277d00c9f727ebed
|