mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-05 11:48:50 +08:00
create_baseline_stubs.py: Fix stubgen invocation (#6856)
This commit is contained in:
1 parent
0e5a00b97a
commit
950cff21f6
1 file changed
+1
-1
@@ -44,7 +44,7 @@ def get_installed_package_info(project: str) -> Optional[Tuple[str, str]]:
|
||||
|
||||
def run_stubgen(package: str) -> None:
|
||||
print(f"Running stubgen: stubgen -p {package}")
|
||||
subprocess.run(["python", "-m", "mypy.stubgen", "-p", package], check=True)
|
||||
subprocess.run(["stubgen", "-p", package], check=True)
|
||||
|
||||
|
||||
def copy_stubs(src_base_dir: str, package: str, stub_dir: str) -> None:
|
||||
|
||||
Reference in new issue
Block a user