njzjz/nodejs-wheel

type annotations

Closed this issue · 0 comments

args : Optional[list[str]], default=None
List of arguments to pass to the node executable.
If None, the arguments are taken from sys.argv[1:].
**kwargs : dict[str, Any]
Other arguments passed to subprocess.call

the types in these function signatures would be far more useful if they were actual type annotations instead

note that a py.typed file will also need to be added: https://peps.python.org/pep-0561/#packaging-type-information