chore: lint
This commit is contained in:
@@ -193,8 +193,7 @@ class MCPRegistry:
|
|||||||
self._write_installed(data)
|
self._write_installed(data)
|
||||||
if repaired:
|
if repaired:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
"MCPRegistry._seed_defaults: repaired %d default server(s) with "
|
"MCPRegistry._seed_defaults: repaired %d default server(s) with unreachable cwd/script: %s",
|
||||||
"unreachable cwd/script: %s",
|
|
||||||
len(repaired),
|
len(repaired),
|
||||||
repaired,
|
repaired,
|
||||||
)
|
)
|
||||||
@@ -220,9 +219,7 @@ class MCPRegistry:
|
|||||||
return added
|
return added
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _default_entry_runnable(
|
def _default_entry_runnable(entry: dict, tools_dir: Path, canonical_args: list[str]) -> bool:
|
||||||
entry: dict, tools_dir: Path, canonical_args: list[str]
|
|
||||||
) -> bool:
|
|
||||||
"""Return True iff ``entry`` can plausibly be spawned on this machine.
|
"""Return True iff ``entry`` can plausibly be spawned on this machine.
|
||||||
|
|
||||||
Checks:
|
Checks:
|
||||||
|
|||||||
Reference in New Issue
Block a user