Psycopg style isort
This is an isort plugin implementing the style used in the Psycopg 3 project to sort:
imports in length order
import lists in natural order
The effect is the same of specifying --length-sort but only for the module names. For example:
from ccc import aaaa, bbb, cc from bbbb import ddd, ee from aaaaa import fff, gg
Example configuration:
[tool.isort] profile = "black" length_sort = true multi_line_output = 9 sort_order = "psycopg"
Note: because this is the first day I use isort at all, there is a chance that this plug-in is totally useless and the same can be done using isort features.
Metadata
Release files for isort-psycopg 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| isort_psycopg-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / isort_psycopg-0.0.3-py3-none-any.whl
| Download URL | isort_psycopg-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
439287a64af8fe06b07f54a5ee03d37611e1426a83c43badf3006ea3c33e3706
|
|
BLAKE2b-256 checksum How to use checksums |
1e9bbe0354a574ac236959ef1eab2959aa81bf1496949edcb3041a59c12bfa6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.12
|