psycopg.git / summary / log / commit / refs
commit 511e8b8347c8d5d59dc9908bfebbdce46be95f63
Author: LeonxLJX <51880185+LeonxLJX@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Date: Mon Sep 14 09:41:18 2026 +0000
chore: fix psycopg import style with isort 9
Fix #1392
psycopg/pyproject.toml | 5 ++---
pyproject.toml | 1 +
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/psycopg/pyproject.toml b/psycopg/pyproject.toml
index 4523ad31..8b05c252 100644
--- a/psycopg/pyproject.toml
+++ b/psycopg/pyproject.toml
@@ -84,9 +84,8 @@ dev = [
"cython-lint >= 0.21",
"dnspython >= 2.1",
"flake8 >= 4.0",
- # TODO: check why isort-psycopg doesn't work with isort 9
- "isort[colors] >= 6.0, < 9.0",
- "isort-psycopg",
+ "isort[colors] >= 6.0",
+ "isort-psycopg >= 0.0.3",
"mypy >= 2.1.0",
"pre-commit >= 4.0.1",
"types-setuptools >= 57.4",
diff --git a/pyproject.toml b/pyproject.toml
index 1674b5e8..5e1824bd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -76,4 +76,5 @@ skip = "build,_build,.tox,.mypy_cache,.venv,pq.c,_psycopg.c,*.html"
profile = "black"
length_sort = true
multi_line_output = 9
+include_trailing_comma = false
sort_order = "psycopg" # requires the isort-psycopg module
[parent: d641300471d1]