micropython-stubber icon indicating copy to clipboard operation
micropython-stubber copied to clipboard

Issues in enriched stubs

Open Josverl opened this issue 3 years ago • 1 comments

  • [ ] Add to ctypes.py: ? origin

        ARRAY = 0
        UINT8 = 100
        ARRAY = 124
        UINT8 = 11
    
  • [ ] add import glue to event.pyi

    from typing import Any
    
  • add import to uasyncio/uio.pyi

    from 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
    

Josverl avatar Sep 02 '22 07:09 Josverl

also see bug report on MSB in https://github.com/Josverl/micropython-stubs/issues/680

Josverl avatar Oct 09 '22 11:10 Josverl