isort plug-in to sort imports by module length first
Project description
This is an isort plugin implementing the style used in the gaussdb 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 = "gaussdb"
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.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file isort_gaussdb-0.0.1-py3-none-any.whl.
File metadata
- Download URL: isort_gaussdb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a9f5676165b4fc88d6a73b97c8c40232bbb58fd74d801cd546652cf4644491b
|
|
| MD5 |
88c4d7714cd199c1d488f14f5c2da474
|
|
| BLAKE2b-256 |
3f58fbdea3929b597988d62df92986c64a1558ce107e9ac74a60d97ac67c1829
|