This is collection of stub packages for Type checkers (Pyright, ...). Type checkers will use the type information by PEP 561.
-
Generate stub files or write some stub files. Please refer to Pyright Generating Type Stubs
pyright --createstub [import-name]
and update the generated draft stub files if need.
or write by PEP 561.
-
Create
{import-name}-stubs
directory in this repository and updatepackages
of[tool.poetry]
section in build config,pyproject.toml
. (Please refer to PEP 621 and poetry docs forpyproject.yaml
)