diff --git a/src/remote_svc_ctrl/ioc.py b/src/remote_svc_ctrl/ioc.py index 768274b..fa0e61d 100644 --- a/src/remote_svc_ctrl/ioc.py +++ b/src/remote_svc_ctrl/ioc.py @@ -10,9 +10,8 @@ from softioc import builder, softioc from softioc.asyncio_dispatcher import AsyncioDispatcher -from .systemd import parse_systemctl_status, run_systemctl - from ._version import __version__ # noqa: F401 +from .systemd import parse_systemctl_status, run_systemctl log = logging.getLogger(__name__) @@ -377,7 +376,9 @@ def main(): "--host", default=None, ) - parser.add_argument("-v", "--version", action="version", version=f"remote-svc-ctrl {__version__}") + parser.add_argument( + "-v", "--version", action="version", version=f"remote-svc-ctrl {__version__}" + ) args = parser.parse_args() create_ioc(args.prefix, args.service, args.host)