Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 906 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 906 Bytes

Allganize Types Overview

This is collection of stub packages for Type checkers (Pyright, ...). Type checkers will use the type information by PEP 561.

How to update/ add stub package?

  1. 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.

  2. Create {import-name}-stubs directory in this repository and update packages of [tool.poetry] section in build config, pyproject.toml. (Please refer to PEP 621 and poetry docs for pyproject.yaml)