Josverl / micropython-stubber

Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or MyPy
https://micropython-stubber.readthedocs.io
Other
166 stars 14 forks source link

board_stubber and createstubs improvments for v1.22.0 #495

Closed Josverl closed 5 months ago

Josverl commented 6 months ago

createstubs.py

board_stubber.py:

Firmware downloader

Firmware Flash Helper

scripts/flash.ipynb

Other:

Fixes:

This pull request fixes the issue with sys.implementation.version in MicroPython v1.22.0. The issue caused an extraneous empty node to be present in the version tuple. This pull request removes the empty node, ensuring that the version tuple is correct.

related: micropython/micropython#13317