micropython-stubber 1.19.0__py3-none-any.whl → 1.20.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/METADATA +4 -4
- {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/RECORD +37 -41
- mpflash/README.md +41 -33
- mpflash/libusb_flash.ipynb +203 -203
- mpflash/mpflash/ask_input.py +18 -3
- mpflash/mpflash/cli_download.py +16 -12
- mpflash/mpflash/cli_flash.py +16 -7
- mpflash/mpflash/cli_group.py +1 -1
- mpflash/mpflash/cli_list.py +2 -2
- mpflash/mpflash/cli_main.py +4 -3
- mpflash/mpflash/download.py +11 -8
- mpflash/mpflash/flash_uf2.py +1 -1
- mpflash/mpflash/list.py +29 -12
- mpflash/mpflash/mpboard_id/board_id.py +14 -11
- mpflash/mpflash/mpremoteboard/__init__.py +6 -5
- mpflash/mpflash/mpremoteboard/runner.py +12 -12
- mpflash/mpflash/worklist.py +1 -1
- mpflash/poetry.lock +85 -84
- mpflash/pyproject.toml +2 -2
- stubber/__init__.py +1 -1
- stubber/board/createstubs.py +4 -3
- stubber/board/createstubs_db.py +4 -4
- stubber/board/createstubs_db_min.py +825 -329
- stubber/board/createstubs_db_mpy.mpy +0 -0
- stubber/board/createstubs_mem.py +4 -4
- stubber/board/createstubs_mem_min.py +765 -304
- stubber/board/createstubs_mem_mpy.mpy +0 -0
- stubber/board/createstubs_min.py +975 -293
- stubber/board/createstubs_mpy.mpy +0 -0
- stubber/board/modulelist.txt +1 -0
- stubber/commands/{mcu_cmd.py → get_mcu_cmd.py} +20 -3
- stubber/stubber.py +1 -9
- stubber/update_fallback.py +104 -104
- stubber/utils/config.py +6 -0
- stubber/commands/get_lobo_cmd.py +0 -58
- stubber/commands/minify_cmd.py +0 -60
- stubber/commands/upd_fallback_cmd.py +0 -36
- stubber/commands/upd_module_list_cmd.py +0 -18
- {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/LICENSE +0 -0
- {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/WHEEL +0 -0
- {micropython_stubber-1.19.0.dist-info → micropython_stubber-1.20.1.dist-info}/entry_points.txt +0 -0
stubber/board/createstubs_db.py
CHANGED
@@ -18,7 +18,7 @@ Create stubs for (all) modules on a MicroPython board.
|
|
18
18
|
- cross compilation, using mpy-cross, to avoid the compilation step on the micropython device
|
19
19
|
|
20
20
|
|
21
|
-
This variant was generated from createstubs.py by micropython-stubber v1.
|
21
|
+
This variant was generated from createstubs.py by micropython-stubber v1.20.1
|
22
22
|
"""
|
23
23
|
|
24
24
|
# Copyright (c) 2019-2024 Jos Verlinde
|
@@ -43,7 +43,7 @@ try:
|
|
43
43
|
except ImportError:
|
44
44
|
from ucollections import OrderedDict # type: ignore
|
45
45
|
|
46
|
-
__version__ = "v1.
|
46
|
+
__version__ = "v1.20.1"
|
47
47
|
ENOENT = 2
|
48
48
|
_MAX_CLASS_LEVEL = 2 # Max class nesting
|
49
49
|
LIBS = ["lib", "/lib", "/sd/lib", "/flash/lib", "."]
|
@@ -609,10 +609,10 @@ def _info(): # type:() -> dict[str, str]
|
|
609
609
|
if (
|
610
610
|
info["version"]
|
611
611
|
and info["version"].endswith(".0")
|
612
|
-
and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.20.
|
612
|
+
and info["version"] >= "1.10.0" # versions from 1.10.0 to 1.20.1 do not have a micro .0
|
613
613
|
and info["version"] <= "1.19.9"
|
614
614
|
):
|
615
|
-
# versions from 1.10.0 to 1.20.
|
615
|
+
# versions from 1.10.0 to 1.20.1 do not have a micro .0
|
616
616
|
info["version"] = info["version"][:-2]
|
617
617
|
|
618
618
|
# spell-checker: disable
|