[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-07-28 20:28:07 +00:00
commit e8e092caf6
2 changed files with 8 additions and 1 deletions

View file

@ -774,6 +774,7 @@ def _recorded_studio_pids() -> "set[int]":
pids.add(int(text))
return pids
# Direct backend launches bypass the CLI's env re-export; do it here for
# real custom roots so unsloth-zoo's import-time LLAMA_CPP_DEFAULT_DIR
# picks up the custom build. Skip legacy-default to avoid flipping

View file

@ -26,7 +26,13 @@ def _studio():
return _studio_mod
def _install(monkeypatch, tmp_path, *, alive, killed = None):
def _install(
monkeypatch,
tmp_path,
*,
alive,
killed = None,
):
"""Point the CLI at tmp_path and fake process liveness."""
studio_mod = _studio()
monkeypatch.setattr(studio_mod, "STUDIO_HOME", tmp_path)