]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
chore(isort): add source link to project metadata, tweak readme 1006/head
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 13 Feb 2025 10:54:46 +0000 (11:54 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Thu, 13 Feb 2025 10:54:46 +0000 (11:54 +0100)
tools/isort-psycopg/README.rst
tools/isort-psycopg/pyproject.toml

index fe85fc57c4725819168f552970a64934b77b73d9..317d4d3d1885447a3c1d38314a42f209bc54eafc 100644 (file)
@@ -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/
index c02413977f140e50148b5dc3f42367207a4a32a1..e3b1aca79fa341ab97f8ef7c6180970b1c687c4f 100644 (file)
@@ -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"