From 71037e631a3b35321f019284f61a087f53e99399 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 13 Nov 2026 14:41:05 +0100 Subject: [PATCH] style: Sync import formatting with current isort The current isort formats parenthesized import lists with a trailing comma and wraps long imports differently than when the files were last formatted, so make format rewrites them on every run even though nothing is wrong with the code. Apply make format to the two drifted import statements so the tree matches the formatter's output and make format becomes a no-op: - src/python/jw/util/log.py: trailing comma in the jw.pkg.lib.log import list - src/python/jwutils/db/schema/CompositeForeignKey.py: wrap the CompositeForeignKey import in parentheses Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.5.2 Signed-off-by: Jan Lindemann --- src/python/jw/util/log.py | 2 +- src/python/jwutils/db/schema/CompositeForeignKey.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/python/jw/util/log.py b/src/python/jw/util/log.py index 500f0db..b694852 100644 --- a/src/python/jw/util/log.py +++ b/src/python/jw/util/log.py @@ -25,7 +25,7 @@ from jw.pkg.lib.log import ( set_flags, set_level, set_module_name_length, - throw + throw, ) slog = log diff --git a/src/python/jwutils/db/schema/CompositeForeignKey.py b/src/python/jwutils/db/schema/CompositeForeignKey.py index 66da02f..35a9c85 100644 --- a/src/python/jwutils/db/schema/CompositeForeignKey.py +++ b/src/python/jwutils/db/schema/CompositeForeignKey.py @@ -1,6 +1,7 @@ # ruff: noqa: E501 -from jw.util.db.schema.CompositeForeignKey import \ - CompositeForeignKey as CompositeForeignKey +from jw.util.db.schema.CompositeForeignKey import ( + CompositeForeignKey as CompositeForeignKey, +) __all__ = [ "CompositeForeignKey",