micropython-stubs
micropython-stubs copied to clipboard
Stubs of most MicroPython ports, boards and versions to make writing code that much simpler.
First a disclaimer, forgive me if this seems dense but I'm relatively new to this. 😅 I was looking at the [list of firmware](https://micropython-stubs.readthedocs.io/en/main/firmware_grp.html), I have an Unexpected Maker FeatherS2...
https://github.com/mocleiri/tensorflow-micropython-examples
Possibly als add an Additional note to the docstring? Ref https://github.com/micropython/micropython/discussions/14034#discussioncomment-8685852
01:26:49 | ERROR | freeze_manifest_2 - freeze error executing "/home/runner/work/micropython-stubs/micropython-stubs/repos/micropython/ports/unix/variants/manifest.py": Error in manifest file: /home/runner/work/micropython-stubs/micropython-stubs/repos/micropython/ports/unix/variants/manifest.py: name 'add_library' is not defined
https://github.com/orgs/micropython/discussions/14049
Example : the rp2 machine.pyi https://github.com/paulober/Pico-W-Stub/blob/main/frozen/umachine.pyi possibly based on `ports//boards/pins.csv` ? for each board - [x] Use Pin Class for GP.* / EXT_GP.* members - [ ] update __init__ signature...
- it should be possible to use `pip install --user-agent "ignorestats/1.0" some_package` - or to use one of the clients that are already ignored `bandersnatch` - or by running https://github.com/JonasAlfredsson/docker-devpi...
Raised on https://github.com/paulober/MicroPico/issues/170 micropython-stdlib contains (copies of) the typeshed stdlib Some of these packages / modules are used internally by stdlib - so they cannot just be removed Ill try...
- [ ] [flake8-py](https://github.com/PyCQA/flake8-pyi/blob/main/ERRORCODES.md) - [ ] pylint - [ ] ruff ?
\tests\quality_tests\test_snippets.py::test_ports_boards_typecheck[local-latest-esp32-networking-mypy] failed: Typecheck mypy on esp32, networking latest from local - [ ] feat_networking/check_examples/http_client.py:18:0 "socket" has no attribute "write" - [ ] feat_networking/check_examples/http_client.py:19:0 "socket" has no attribute "read" - [...