Skip to main content

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.

Metadata

Release files for reorder-python-imports-black 3.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reorder-python-imports-black 3.14.0
File Size Uploaded
reorder_python_imports_black-3.14.0.tar.gz 10.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reorder-python-imports-black 3.14.0
File Interpreter ABI Platform
reorder_python_imports_black-3.14.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 20.5 kB

Release files / reorder_python_imports_black-3.14.0.tar.gz

Download URL reorder_python_imports_black-3.14.0.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
751a56719bdb978034ba427a33095c4658b6cf4447f348bbd0f1570cc5e979ee
BLAKE2b-256 checksum
How to use checksums
1c5dc7e1d029fa02a99c7df9ee16217484a81bd442e54a996f26b2c6ffd701de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / reorder_python_imports_black-3.14.0-py2.py3-none-any.whl

Download URL reorder_python_imports_black-3.14.0-py2.py3-none-any.whl
Size 9.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
45b0954b3168d02cda78fa80ef512fb44cf597c8a5a6020dacbdf3642f671971
BLAKE2b-256 checksum
How to use checksums
6e0d82e468052c48ffeb0be151ff4af02de57b2c53883edd277d00c9f727ebed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

3.14.0 This release

2 release files

3.12.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page