add (overwrite with) mypy stubs, if available

This commit is contained in:
Matthias Kramm
2015-09-30 07:36:12 -07:00
parent 69e10b3aed
commit 337abed05a
432 changed files with 22360 additions and 776 deletions

View File

View File

@@ -0,0 +1,4 @@
import typing
class DistutilsError(Exception): ...
class DistutilsExecError(DistutilsError): ...

View File

@@ -0,0 +1,6 @@
from typing import List
# In Python, arguments have integer default values
def spawn(cmd: List[str], search_path: bool = True, verbose: bool = False,
dry_run: bool = False) -> None: ...
def find_executable(executable: str, path: str = None) -> str: ...