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
Hashes for reorder_python_imports_black-3.12.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ee5d550615b794e886f1c1df1b09398e828197bb335f908e1daa3c2e0b2858 |
|
MD5 | 62873a07bc002c4c9ca24e23bd8d2bf9 |
|
BLAKE2b-256 | 0ced40ba74795c6898560bc56fd9dd6c13683cda5ca6ed4256d2a3fc250fedc7 |
Hashes for reorder_python_imports_black-3.12.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3081166a1334e2515bd44da643a2e215314003c6a952bba5bf3c7d70631f1ab |
|
MD5 | 098557d38e05c462f0148bbe3f17b206 |
|
BLAKE2b-256 | 6acca12767ba208f8fd1ffbb6c6df33ccc0834803054483b79317ca9f4946a36 |