style: Sync import formatting with current isort
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 5m26s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m27s
CI / Packaging test (pull_request) Successful in 0s

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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-11-13 14:41:05 +01:00
commit 71037e631a
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
2 changed files with 4 additions and 3 deletions

View file

@ -25,7 +25,7 @@ from jw.pkg.lib.log import (
set_flags,
set_level,
set_module_name_length,
throw
throw,
)
slog = log

View file

@ -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",