Micropython-Stubs
Overview:
Introduction to MicroPython Stubs
Install the micropython-stubs
Static Type Checking of MicroPython code
Terms and Definitions
Configuration:
Configuring VSCode, Pylance or Pyright
Pylance/Pyright Advanced configuration
PyCharm Configuration
MicroPico Configuration [Pylance]
Type Checking with MyPy
Linting with Ruff
Pylint Configuration
How to use the Micro:bit v2 stubs
Configuration using pyproject.toml
Advanced:
MicroPython’s
typing.mpy
module
Type check PIO code using the @rp2_asm decorator
Detailed Installation Guide
Micropython-Stubs
Stub Locations
DIY Stub file creation for MicroPython
Run the mcu stubber
Create a symbolic link
Stub folder Naming Conventions.
Installing directy from the repository
Stub QA testing (Validation Snippets)
Stub index
List of available packages
Overview of all modules
Stubs by family and version
All stubs by type
Micropython-Stubs
Index
Index