micropython-stubber
micropython-stubber copied to clipboard
Generate and maintain stubs for different MicroPython ports to use with VSCode and Pylance, PyRight, Thonny, PyCharm or pylint
frozen stubs should have a some sort of manifest as well
Current system works, but is quite complex Pperhaps pydantic is better at handling this , while keeping the config in the TOML file https://docs.pydantic.dev/usage/settings/ https://github.com/sourcery-ai/sourcery-analytics/blob/main/sourcery_analytics/settings.py
``` # todo: add comment line to each file with the micropython version it was generated from ``` https://github.com/Josverl/micropython-stubber/blob/f914846eb7145a7e699cc9add44e00cd666616dc/src/stubber/freeze/get_frozen.py#L56
I noticed that these two instructions in the README don't quite work. There's no `--version` switch: ``` $ stubber switch --version v1.22.2 18:52:09 | INFO | cli - micropython-stubber 1.20.1...
Bumps [rich-click](https://github.com/ewels/rich-click) from 1.8.0 to 1.8.1. Release notes Sourced from rich-click's releases. v1.8.1 Fixed bad deprecation warning with highlighter Fixed incompatibility with Click 9. Changelog Sourced from rich-click's changelog. Version...
Bumps [pyright](https://github.com/RobertCraigie/pyright-python) from 1.1.361 to 1.1.362. Commits 37f4134 CI: try macos-12 99d301f Pyright NPM Package update to 1.1.362 See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve...
[ ] Improve error handling [ ] check if multiple `--ignores` are possible ``` C:\Users\Owner>mpflash list Error: Failed to get mcu_info for COM1 Error: Failed to get mcu_info for COM4...
To round off the test on the rpi pico, no luck so far. I had done a mpflash download and it downloaded the appropriate mp. I then did a mpflash...
reported by @wovo The unneeded firmware scan is done when --serial is not specified ( either explicit or as '?') in this case there is a pile-on effect as the...
https://github.com/micropython/micropython/discussions/14395#discussioncomment-9309856