Skip to content

The agent that grows with you

style: split the begin_process one-liners (E702)

teknium1c4fe5967835e
diff --git a/hermes_cli/gateway.py b/hermes_cli/gateway.py
index 342eb138eb3..22d25283aa7 100644
--- a/hermes_cli/gateway.py
+++ b/hermes_cli/gateway.py
@@ -4592,7 +4592,8 @@ def run_gateway(verbose: int = 0, quiet: bool = False, replace: bool = False, fo
_guard_existing_gateway_process_conflict(replace=replace)
sys.path.insert(0, str(PROJECT_ROOT))
_apply_startup_watchdog_config()
- from hermes_cli.observability.shared_metrics_process import begin_process; begin_process("gateway")
+ from hermes_cli.observability.shared_metrics_process import begin_process
+ begin_process("gateway")
# Detached Windows runs (HERMES_GATEWAY_DETACHED=1, or non-TTY for older wrappers) ignore
# console-control broadcasts from sibling CLIs; foreground runs keep Ctrl+C-to-stop.
diff --git a/hermes_cli/main.py b/hermes_cli/main.py
index 1af9ca467b1..d53509a8c31 100644
--- a/hermes_cli/main.py
+++ b/hermes_cli/main.py
@@ -2799,7 +2799,8 @@ def cmd_dashboard(args):
# fail-closed SystemExit unchanged.
_maybe_setup_dashboard_auth_interactively(args)
if _headless_backend:
- from hermes_cli.observability.shared_metrics_process import begin_process; begin_process("serve")
+ from hermes_cli.observability.shared_metrics_process import begin_process
+ begin_process("serve")
# The in-browser Chat tab (embedded TUI over PTY/WebSocket) is always
# available — desktop and dashboard both rely on `/api/ws` + `/api/pty`.