isort-psycopg-0.0.2
توضیحات
isort plug-in to sort imports by module length first
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | isort-psycopg-0.0.2 |
| نام | isort-psycopg |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Daniele Varrazzo <daniele.varrazzo@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/isort-psycopg/ |
| مجوز | - |
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.
.. _isort: https://pycqa.github.io/isort/
.. _psycopg 3: https://www.psycopg.org/
نحوه نصب
نصب پکیج whl isort-psycopg-0.0.2:
pip install isort-psycopg-0.0.2.whl
نصب پکیج tar.gz isort-psycopg-0.0.2:
pip install isort-psycopg-0.0.2.tar.gz