Skip to main content

An opinionated CLI for asottile/reorder_python_imports

Project description

sorti

An opinionated CLI for asottile/reorder_python_imports.

Installation

pip install reorder-python-imports

Why?

This package makes the features of reorder_python_imports fit into my workflow. I think the original project is awesome, but the CLI does not work the way I would like it to.

My opinions diverge from asottile's on these two issues.

So, sorti will support a much narrower use case than the original project. The command has one flag: --check, which will make the command output the files it would change and return an exit code of 1 if there are changes to be made.

sorti uses source file discovery from python/black and aims to find the same files, given the same inputs.

I don't intend to support anything else than latest stable Python, for the moment that is 3.7.

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

sorti-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

sorti-1.0.0-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sorti-1.0.0.tar.gz.

File metadata

  • Download URL: sorti-1.0.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for sorti-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e30ecd0ed677329e5fb5d0a379d1d983b9a27ec5051680b9f4a53ca5c62365b0
MD5 cf9a108097bf6c130f95d8db0c2935cb
BLAKE2b-256 614264e22e2a128a12a155003a14ca9ecc1770fe02b46a9b5bae184ab8f98134

See more details on using hashes here.

File details

Details for the file sorti-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: sorti-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for sorti-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 12ee6f92ba6a07600aee8101087b524e353e03eb9aa9b3cfb5526ef125023fe0
MD5 a2123b125193184ced4553b7714866eb
BLAKE2b-256 c517e0f105061add2dd10d04d25a3fe1c16b8d1198c2a002ea05b4b9195890d5

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