mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Bundle path handling in ts_utils.paths (#12805)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user