refactor: remove redundant comments and docstrings (#6527)
* refactor: remove redundant comments and docstrings * fix(signal): annotate async context manager as a generator
This commit is contained in:
1 parent
cb3ba45317
commit
a4d2430140
922 files changed
+406
-7738
No files matched your search
@@ -1,5 +1,3 @@
|
||||
"""Typer commands for foreground and background gateway control."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import subprocess
|
||||
@@ -38,7 +36,6 @@ WebUIBundlePreparer = Callable[[Config, BuildMode], None]
|
||||
|
||||
|
||||
def _resolved_config_selector(config: str | None) -> Path:
|
||||
"""Return the one canonical config identity used by every local client."""
|
||||
if config:
|
||||
return Path(config).expanduser().resolve(strict=False)
|
||||
from nanobot.config.loader import get_config_path
|
||||
|
||||
Reference in new issue
Block a user