Skip to content
/ stubgen Public

creates stub files from python docstrings for static type checking

Notifications You must be signed in to change notification settings

dhood/stubgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stubgen

Generate stub files containing hints for the mypy static type checker from docstrings.

Usage

pip3 install mypy-lang
python examples/sphinx_parser.py -o examples/sphinx/demo_docstrings.pyi
mypy -m examples/sphinx/demo_docstrings --disallow-untyped-defs --verbose

About

creates stub files from python docstrings for static type checking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages