micropython-stubber
micropython-stubber copied to clipboard
Issues in enriched stubs
-
[ ] Add to ctypes.py: ? origin
ARRAY = 0 UINT8 = 100 ARRAY = 124 UINT8 = 11 -
[ ] add import glue to
event.pyifrom typing import Any -
add import to
uasyncio/uio.pyifrom io import IOBase as IOBase -
[ ] network.py - enriched
Missing class
class AbstractNIC: pass -
[ ] esp32.py - enriched
-
class partition , wrong ordering of class literals/constants , not defined at the top of the class this then causes an issue with one off the class methods.
BOOT = 0 # type: int RUNNING = 1 # type: int TYPE_APP = 0 # type: int TYPE_DATA = 1 # type: int
also see bug report on MSB in https://github.com/Josverl/micropython-stubs/issues/680