fix(config): use parents[3] for CORE_REPO_ROOT and check cwd/workspace.toml so hs-doctor resolves outside /workspace (v1.2.0)
This commit is contained in:
1 parent
fff554e304
commit
d81e2f508f
2 files changed
+7
-1
No files matched your search
@@ -11,8 +11,13 @@ Tests:
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
_SRC_DIR = Path(__file__).resolve().parents[1] / "src"
|
||||
if _SRC_DIR.is_dir() and str(_SRC_DIR) not in sys.path:
|
||||
sys.path.insert(0, str(_SRC_DIR))
|
||||
|
||||
from hyperstitionstud_io.ciphers import (
|
||||
assert_zero_d_filter,
|
||||
compute_aq,
|
||||
|
||||
Reference in new issue
Block a user