Skip to content

Typehints missing classes (ADC, PWM, and probably more) #102

Open
@1oglop1

Description

@1oglop1

Hi,

I recently started playing with ESP32 and MicroPython.
This plugins looks like a great idea to make things easier however there are some missing modules for ESP8266 and ESP32.

So I did some reading on how this plugin works and found all type hints to be updated 2 years ago, which made me wonder whether they are maintained manually or generated from MicroPython code.

I came across this tool https://github.com/Josverl/micropython-stubber which helps to create pyi files directly on the device itself.

I'm still not sure how to use the stubber, however my idea is to use it to generate stubs and contribute them to this project or to typeshed to keep the type hinting up to date with less effort.

@vlasovskikh
What do you think about this idea?
Would you be willing to give me a hand to make this happen?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions