From: Daniele Varrazzo Date: Thu, 13 Feb 2025 10:54:46 +0000 (+0100) Subject: chore(isort): add source link to project metadata, tweak readme X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1006%2Fhead;p=thirdparty%2Fpsycopg.git chore(isort): add source link to project metadata, tweak readme --- diff --git a/tools/isort-psycopg/README.rst b/tools/isort-psycopg/README.rst index fe85fc57c..317d4d3d1 100644 --- a/tools/isort-psycopg/README.rst +++ b/tools/isort-psycopg/README.rst @@ -1,9 +1,10 @@ Psycopg style isort =================== -This is an isort_ plugin to sort: +This is an isort_ plugin implementing the style used in the `Psycopg 3`_ +project to sort: -- import in length order +- imports in length order - import lists in natural order The effect is the same of specifying ``--length-sort`` but only for the module @@ -25,3 +26,4 @@ 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/ diff --git a/tools/isort-psycopg/pyproject.toml b/tools/isort-psycopg/pyproject.toml index c02413977..e3b1aca79 100644 --- a/tools/isort-psycopg/pyproject.toml +++ b/tools/isort-psycopg/pyproject.toml @@ -8,7 +8,10 @@ description = "isort plug-in to sort imports by module length first" # Note: to release a new version: # python -m build -o dist --wheel . # twine upload dist/isort_psycopg-*-py3-none-any.whl -version = "0.0.1" +version = "0.0.2" + +[project.urls] +Code = "https://github.com/psycopg/psycopg/tree/master/tools/isort-psycopg" [project.readme] file = "README.rst"