Skip to content

Adding micropython.const to stubs #10484

@dunkmann00

Description

@dunkmann00

I'm not sure if this is the right place for this so forgive me if it isn't.

I was trying to import from micropython import const into my code.py and am getting Import "micropython" could not be resolved. I have circuitpython-stubs installed and other circuitpython specific libraries are all getting typed correctly so I believe I have everything setup correct.

Would it be possible to add micropython.const to this typing library to get the type hint? I'd be happy to open a PR myself if it would help.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions