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

update src/stubber/tools/manifestfile.py from Micropython repo #512

Closed Josverl closed 2 weeks ago

Josverl commented 5 months ago

Update needed to be able to process newer manifests in get-frozen

tools/manifestfile.py: Change library search to use a list of paths. This commit changes how library packages are searched for when a manifest file is loaded: there is now simply a list of library paths that is searched in order for the given package. This list defaults to the main directories in micropython-lib, but can be added to -- either appended or prepended -- by using add_library()

https://github.com/micropython/micropython/compare/micropython:2bdaa1b...micropython:8cbae12