lib.App: Reformat imports with trailing commas
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 4m34s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 4m22s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 4m4s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m20s
CI / Packaging test (push) Successful in 0s

Running make format with the new isort setting rewrites the two wrapped
import blocks:

- The argparse import is split one-per-line, since the logical line exceeds
  88 columns
- A trailing comma is added to both imports, which makes yapf keep the
  split layout instead of re-joining it

The result is a fixed point that both isort and yapf accept, so make format
and make check agree.

Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v0.85.1
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-09-14 21:14:27 +02:00
commit 1e54455c6a
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61

View file

@ -7,7 +7,10 @@ import sys
import warnings
from argparse import (
ArgumentDefaultsHelpFormatter, ArgumentParser, Namespace, _SubParsersAction
ArgumentDefaultsHelpFormatter,
ArgumentParser,
Namespace,
_SubParsersAction,
)
from typing import TYPE_CHECKING, Any, NamedTuple, cast, override
@ -24,7 +27,7 @@ from .log import (
parse_log_flags,
parse_log_level,
set_log_flags,
set_log_level
set_log_level,
)
from .Types import LoadTypes
from .util import pretty_cmd