Bundle path handling in ts_utils.paths (#12805)

This commit is contained in:
Sebastian Rittau
2024-10-17 08:16:10 +02:00
committed by GitHub
parent 36fb63ebc8
commit 2d0f6d8277
10 changed files with 81 additions and 80 deletions

View File

@@ -13,7 +13,8 @@ import subprocess
import sys
from pathlib import Path
from ts_utils.utils import allowlist_stubtest_arguments, allowlists_path
from ts_utils.paths import TS_BASE_PATH, allowlists_path
from ts_utils.utils import allowlist_stubtest_arguments
def run_stubtest(typeshed_dir: Path) -> int:
@@ -57,4 +58,4 @@ def run_stubtest(typeshed_dir: Path) -> int:
if __name__ == "__main__":
sys.exit(run_stubtest(typeshed_dir=Path(".")))
sys.exit(run_stubtest(typeshed_dir=TS_BASE_PATH))