mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Use stubgen's --export-less option in create_baseline_stubs.py (#8843)
This commit is contained in:
@@ -47,7 +47,7 @@ def get_installed_package_info(project: str) -> tuple[str, str] | None:
|
||||
|
||||
def run_stubgen(package: str, output: str) -> None:
|
||||
print(f"Running stubgen: stubgen -o {output} -p {package}")
|
||||
subprocess.run(["stubgen", "-o", output, "-p", package], check=True)
|
||||
subprocess.run(["stubgen", "-o", output, "-p", package, "--export-less"], check=True)
|
||||
|
||||
|
||||
def run_black(stub_dir: str) -> None:
|
||||
|
||||
Reference in New Issue
Block a user