micropython-stubber
micropython-stubber copied to clipboard
the stub for builtins.pyi brings conflicts with proper pyright handling
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