automatic ruff fixes

This commit is contained in:
Jörg Thalheim
2025-08-25 12:15:13 +02:00
parent 31cbb7dc00
commit b38b10c9a6
6 changed files with 16 additions and 7 deletions

View File

@@ -19,7 +19,8 @@ def list_command(args: argparse.Namespace) -> None:
col_network = max(12, *(len(name) for name in networks))
col_priority = 8
col_module = max(
10, *(len(net.module_name.split(".")[-1]) for net in networks.values())
10,
*(len(net.module_name.split(".")[-1]) for net in networks.values()),
)
col_running = 8

View File

@@ -1146,8 +1146,7 @@ def test_share_mode_switch_regenerates_secret(
monkeypatch: pytest.MonkeyPatch,
flake_with_sops: ClanFlake,
) -> None:
"""
Test that switching a generator from share=false to share=true
"""Test that switching a generator from share=false to share=true
causes the secret to be regenerated with a new value.
"""
flake = flake_with_sops