Skip to content

Commit 2fe28a1

Browse files
committed
chore(isort): add source link to project metadata, tweak readme
1 parent 0a393cf commit 2fe28a1

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

tools/isort-psycopg/README.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
Psycopg style isort
22
===================
33

4-
This is an isort_ plugin to sort:
4+
This is an isort_ plugin implementing the style used in the `Psycopg 3`_
5+
project to sort:
56

6-
- import in length order
7+
- imports in length order
78
- import lists in natural order
89

910
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
2526
this plug-in is totally useless and the same can be done using isort features.
2627

2728
.. _isort: https://pycqa.github.io/isort/
29+
.. _psycopg 3: https://www.psycopg.org/

tools/isort-psycopg/pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ description = "isort plug-in to sort imports by module length first"
88
# Note: to release a new version:
99
# python -m build -o dist --wheel .
1010
# twine upload dist/isort_psycopg-*-py3-none-any.whl
11-
version = "0.0.1"
11+
version = "0.0.2"
12+
13+
[project.urls]
14+
Code = "https://github.com/psycopg/psycopg/tree/master/tools/isort-psycopg"
1215

1316
[project.readme]
1417
file = "README.rst"

0 commit comments

Comments
 (0)