Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reorder_python_imports_black-3.14.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reorder_python_imports_black-3.14.0-py2.py3-none-any.whl (9.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file reorder_python_imports_black-3.14.0.tar.gz.

File metadata

File hashes

Hashes for reorder_python_imports_black-3.14.0.tar.gz
Algorithm Hash digest
SHA256 751a56719bdb978034ba427a33095c4658b6cf4447f348bbd0f1570cc5e979ee
MD5 a4298e5049d3ceefafc1b37761d6c5c9
BLAKE2b-256 1c5dc7e1d029fa02a99c7df9ee16217484a81bd442e54a996f26b2c6ffd701de

See more details on using hashes here.

File details

Details for the file reorder_python_imports_black-3.14.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for reorder_python_imports_black-3.14.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 45b0954b3168d02cda78fa80ef512fb44cf597c8a5a6020dacbdf3642f671971
MD5 6ab7dad84cc4b310cba4f9f2d7102e92
BLAKE2b-256 6e0d82e468052c48ffeb0be151ff4af02de57b2c53883edd277d00c9f727ebed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page