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

the stub for builtins.pyi brings conflicts with proper pyright handling

Open Josverl opened this issue 3 years ago • 0 comments

Describe the bug Since the change in stdlib resolution order from pyright there are errors as the .pyi signatures created by the frimware stubber are not rich enough to support pyright ( and probably the same for other stubbers.

To Reproduce


for i in range(10):
    pass

error in iterable

Workaround

rename builtins.py* to _builtins.py

Josverl avatar Feb 07 '22 14:02 Josverl