chore: Reformat with black

Signed-off-by: Sven Sager <s.sager@kunbus.com>
This commit is contained in:
Sven Sager
2026-02-06 16:53:02 +01:00
parent 2c08829a13
commit bf5bef114c
19 changed files with 20 additions and 1 deletions

View File

@@ -2,4 +2,5 @@
# SPDX-FileCopyrightText: 2025 KUNBUS GmbH
# SPDX-License-Identifier: GPL-2.0-or-later
"""CLI commands to control revpi_middleware."""
from ..__about__ import __author__, __copyright__, __license__, __version__

View File

@@ -5,6 +5,7 @@
This module provides the foundation for the RevPi middleware CLI commands
and argument parsing setup.
"""
from logging import getLogger
from . import cli_config, cli_picontrol

View File

@@ -1,6 +1,7 @@
# SPDX-FileCopyrightText: 2025 KUNBUS GmbH
# SPDX-License-Identifier: GPL-2.0-or-later
"""Command-Line for the picontrol object of CLI."""
from argparse import ArgumentParser
from logging import getLogger
@@ -16,7 +17,7 @@ def add_subparsers(parent_parser: ArgumentParser):
"action",
choices=["enable", "disable", "status", "available", "list-features"],
help="Action to be executed: enable, disable, status or available. "
"To get all available features, use 'list-features'.",
"To get all available features, use 'list-features'.",
)
parent_parser.add_argument(
"feature",

View File

@@ -1,6 +1,7 @@
# SPDX-FileCopyrightText: 2025 KUNBUS GmbH
# SPDX-License-Identifier: GPL-2.0-or-later
"""Command-Line for the picontrol object of CLI."""
from argparse import ArgumentParser
from logging import getLogger

View File

@@ -1,6 +1,7 @@
# SPDX-FileCopyrightText: 2025 KUNBUS GmbH
# SPDX-License-Identifier: GPL-2.0-or-later
"""D-Bus helper functions for cli commands."""
from enum import Enum
from threading import Thread
from time import sleep