micropython-stubber 1.23.3__tar.gz → 1.25.0.post1__tar.gz

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.
Files changed (173) hide show
  1. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/PKG-INFO +37 -39
  2. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/pyproject.toml +59 -22
  3. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/readme.md +23 -25
  4. micropython_stubber-1.25.0.post1/src/stubber/__init__.py +3 -0
  5. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/createstubs.py +141 -83
  6. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/createstubs_db.py +72 -48
  7. micropython_stubber-1.25.0.post1/src/stubber/board/createstubs_db_min.py +344 -0
  8. micropython_stubber-1.25.0.post1/src/stubber/board/createstubs_db_mpy.mpy +0 -0
  9. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/createstubs_mem.py +71 -47
  10. micropython_stubber-1.25.0.post1/src/stubber/board/createstubs_mem_min.py +320 -0
  11. micropython_stubber-1.25.0.post1/src/stubber/board/createstubs_mem_mpy.mpy +0 -0
  12. micropython_stubber-1.25.0.post1/src/stubber/board/createstubs_min.py +309 -0
  13. micropython_stubber-1.25.0.post1/src/stubber/board/createstubs_mpy.mpy +0 -0
  14. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/modulelist.txt +43 -27
  15. micropython_stubber-1.25.0.post1/src/stubber/board/pkg_full.json +22 -0
  16. micropython_stubber-1.25.0.post1/src/stubber/board/pkg_minified.json +22 -0
  17. micropython_stubber-1.25.0.post1/src/stubber/board/pkg_mpy.json +22 -0
  18. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/bulk/mcu_stubber.py +62 -102
  19. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/_partials/db_main.py +1 -1
  20. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/board.py +1 -1
  21. micropython_stubber-1.25.0.post1/src/stubber/codemod/enrich.py +360 -0
  22. micropython_stubber-1.25.0.post1/src/stubber/codemod/merge_docstub.py +580 -0
  23. micropython_stubber-1.25.0.post1/src/stubber/codemod/visitors/type_helpers.py +284 -0
  24. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/build_cmd.py +16 -3
  25. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/clone_cmd.py +4 -4
  26. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/config_cmd.py +4 -2
  27. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/enrich_folder_cmd.py +34 -22
  28. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/get_core_cmd.py +2 -3
  29. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/get_docstubs_cmd.py +78 -6
  30. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/get_frozen_cmd.py +17 -13
  31. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/get_mcu_cmd.py +3 -3
  32. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/merge_cmd.py +3 -6
  33. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/publish_cmd.py +19 -4
  34. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/stub_cmd.py +4 -4
  35. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/switch_cmd.py +3 -5
  36. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/variants_cmd.py +3 -3
  37. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/freeze/common.py +27 -11
  38. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/freeze/freeze_manifest_2.py +8 -1
  39. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/freeze/get_frozen.py +4 -1
  40. micropython_stubber-1.25.0.post1/src/stubber/merge_config.py +80 -0
  41. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/minify.py +3 -4
  42. micropython_stubber-1.25.0.post1/src/stubber/modcat.py +118 -0
  43. micropython_stubber-1.25.0.post1/src/stubber/publish/database.py +59 -0
  44. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/merge_docstubs.py +58 -20
  45. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/package.py +32 -18
  46. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/publish.py +8 -8
  47. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/stubpackage.py +145 -73
  48. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/lookup.py +206 -59
  49. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/reader.py +112 -70
  50. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/rst_utils.py +24 -11
  51. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/stubber.py +1 -1
  52. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/stubs_from_docs.py +33 -14
  53. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/tools/manifestfile.py +2 -1
  54. micropython_stubber-1.23.3/src/stubber/cst_transformer.py → micropython_stubber-1.25.0.post1/src/stubber/typing_collector.py +90 -19
  55. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/update_module_list.py +2 -2
  56. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/config.py +33 -13
  57. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/post.py +11 -8
  58. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/repos.py +42 -6
  59. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/stubmaker.py +1 -1
  60. micropython_stubber-1.23.3/src/mpflash/README.md +0 -220
  61. micropython_stubber-1.23.3/src/mpflash/libusb_flash.ipynb +0 -203
  62. micropython_stubber-1.23.3/src/mpflash/mpflash/add_firmware.py +0 -98
  63. micropython_stubber-1.23.3/src/mpflash/mpflash/ask_input.py +0 -236
  64. micropython_stubber-1.23.3/src/mpflash/mpflash/basicgit.py +0 -304
  65. micropython_stubber-1.23.3/src/mpflash/mpflash/bootloader/__init__.py +0 -2
  66. micropython_stubber-1.23.3/src/mpflash/mpflash/bootloader/activate.py +0 -60
  67. micropython_stubber-1.23.3/src/mpflash/mpflash/bootloader/detect.py +0 -82
  68. micropython_stubber-1.23.3/src/mpflash/mpflash/bootloader/manual.py +0 -101
  69. micropython_stubber-1.23.3/src/mpflash/mpflash/bootloader/micropython.py +0 -12
  70. micropython_stubber-1.23.3/src/mpflash/mpflash/bootloader/touch1200.py +0 -36
  71. micropython_stubber-1.23.3/src/mpflash/mpflash/cli_download.py +0 -129
  72. micropython_stubber-1.23.3/src/mpflash/mpflash/cli_flash.py +0 -224
  73. micropython_stubber-1.23.3/src/mpflash/mpflash/cli_group.py +0 -111
  74. micropython_stubber-1.23.3/src/mpflash/mpflash/cli_list.py +0 -87
  75. micropython_stubber-1.23.3/src/mpflash/mpflash/cli_main.py +0 -39
  76. micropython_stubber-1.23.3/src/mpflash/mpflash/common.py +0 -207
  77. micropython_stubber-1.23.3/src/mpflash/mpflash/config.py +0 -44
  78. micropython_stubber-1.23.3/src/mpflash/mpflash/connected.py +0 -96
  79. micropython_stubber-1.23.3/src/mpflash/mpflash/download.py +0 -364
  80. micropython_stubber-1.23.3/src/mpflash/mpflash/downloaded.py +0 -130
  81. micropython_stubber-1.23.3/src/mpflash/mpflash/errors.py +0 -9
  82. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/__init__.py +0 -55
  83. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/esp.py +0 -59
  84. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/stm32.py +0 -19
  85. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/stm32_dfu.py +0 -104
  86. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/uf2/__init__.py +0 -88
  87. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/uf2/boardid.py +0 -15
  88. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/uf2/linux.py +0 -136
  89. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/uf2/macos.py +0 -42
  90. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/uf2/uf2disk.py +0 -12
  91. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/uf2/windows.py +0 -43
  92. micropython_stubber-1.23.3/src/mpflash/mpflash/flash/worklist.py +0 -170
  93. micropython_stubber-1.23.3/src/mpflash/mpflash/list.py +0 -106
  94. micropython_stubber-1.23.3/src/mpflash/mpflash/logger.py +0 -41
  95. micropython_stubber-1.23.3/src/mpflash/mpflash/mpboard_id/__init__.py +0 -93
  96. micropython_stubber-1.23.3/src/mpflash/mpflash/mpboard_id/add_boards.py +0 -251
  97. micropython_stubber-1.23.3/src/mpflash/mpflash/mpboard_id/board.py +0 -37
  98. micropython_stubber-1.23.3/src/mpflash/mpflash/mpboard_id/board_id.py +0 -86
  99. micropython_stubber-1.23.3/src/mpflash/mpflash/mpboard_id/board_info.zip +0 -0
  100. micropython_stubber-1.23.3/src/mpflash/mpflash/mpboard_id/store.py +0 -48
  101. micropython_stubber-1.23.3/src/mpflash/mpflash/mpremoteboard/__init__.py +0 -266
  102. micropython_stubber-1.23.3/src/mpflash/mpflash/mpremoteboard/mpy_fw_info.py +0 -152
  103. micropython_stubber-1.23.3/src/mpflash/mpflash/mpremoteboard/runner.py +0 -140
  104. micropython_stubber-1.23.3/src/mpflash/mpflash/vendor/click_aliases.py +0 -91
  105. micropython_stubber-1.23.3/src/mpflash/mpflash/vendor/dfu.py +0 -165
  106. micropython_stubber-1.23.3/src/mpflash/mpflash/vendor/pydfu.py +0 -605
  107. micropython_stubber-1.23.3/src/mpflash/mpflash/vendor/readme.md +0 -3
  108. micropython_stubber-1.23.3/src/mpflash/mpflash/versions.py +0 -135
  109. micropython_stubber-1.23.3/src/mpflash/poetry.lock +0 -1687
  110. micropython_stubber-1.23.3/src/mpflash/pyproject.toml +0 -65
  111. micropython_stubber-1.23.3/src/mpflash/stm32_udev_rules.md +0 -63
  112. micropython_stubber-1.23.3/src/stubber/__init__.py +0 -3
  113. micropython_stubber-1.23.3/src/stubber/board/createstubs_db_min.py +0 -332
  114. micropython_stubber-1.23.3/src/stubber/board/createstubs_db_mpy.mpy +0 -0
  115. micropython_stubber-1.23.3/src/stubber/board/createstubs_mem_min.py +0 -307
  116. micropython_stubber-1.23.3/src/stubber/board/createstubs_mem_mpy.mpy +0 -0
  117. micropython_stubber-1.23.3/src/stubber/board/createstubs_min.py +0 -295
  118. micropython_stubber-1.23.3/src/stubber/board/createstubs_mpy.mpy +0 -0
  119. micropython_stubber-1.23.3/src/stubber/codemod/enrich.py +0 -145
  120. micropython_stubber-1.23.3/src/stubber/codemod/merge_docstub.py +0 -284
  121. micropython_stubber-1.23.3/src/stubber/publish/database.py +0 -18
  122. micropython_stubber-1.23.3/src/stubber/publish/missing_class_methods.py +0 -51
  123. micropython_stubber-1.23.3/src/stubber/tools/__init__.py +0 -0
  124. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/LICENSE +0 -0
  125. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/board_info.csv +0 -0
  126. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/boot.py +0 -0
  127. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/createstubs_lvgl.py +0 -0
  128. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/createstubs_lvgl_min.py +0 -0
  129. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/createstubs_lvgl_mpy.mpy +0 -0
  130. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/fw_info.py +0 -0
  131. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/info.py +0 -0
  132. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/main.py +0 -0
  133. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/board/pyrightconfig.json +0 -0
  134. {micropython_stubber-1.23.3/src/mpflash/mpflash → micropython_stubber-1.25.0.post1/src/stubber/codemod}/__init__.py +0 -0
  135. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/_partials/__init__.py +0 -0
  136. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/_partials/lvgl_main.py +0 -0
  137. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/_partials/modules_reader.py +0 -0
  138. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/add_comment.py +0 -0
  139. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/add_method.py +0 -0
  140. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/modify_list.py +0 -0
  141. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/codemod/utils.py +0 -0
  142. {micropython_stubber-1.23.3/src/stubber/codemod → micropython_stubber-1.25.0.post1/src/stubber/commands}/__init__.py +0 -0
  143. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/commands/cli.py +0 -0
  144. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/data/board_info.csv +0 -0
  145. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/data/board_info.json +0 -0
  146. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/data/micropython_tags.csv +0 -0
  147. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/data/requirements-core-micropython.txt +0 -0
  148. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/data/requirements-core-pycopy.txt +0 -0
  149. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/downloader.py +0 -0
  150. {micropython_stubber-1.23.3/src/stubber/commands → micropython_stubber-1.25.0.post1/src/stubber/freeze}/__init__.py +0 -0
  151. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/freeze/freeze_folder.py +0 -0
  152. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/get_cpython.py +0 -0
  153. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/get_lobo.py +0 -0
  154. {micropython_stubber-1.23.3/src/stubber/freeze → micropython_stubber-1.25.0.post1/src/stubber/publish}/__init__.py +0 -0
  155. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/bump.py +0 -0
  156. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/candidates.py +0 -0
  157. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/defaults.py +0 -0
  158. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/enums.py +0 -0
  159. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/helpers.py +0 -0
  160. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/pathnames.py +0 -0
  161. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/publish/pypi.py +0 -0
  162. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/__init__.py +0 -0
  163. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/classsort.py +0 -0
  164. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/output_dict.py +0 -0
  165. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/rst/report_return.py +0 -0
  166. {micropython_stubber-1.23.3/src/stubber/publish → micropython_stubber-1.25.0.post1/src/stubber/tools}/__init__.py +0 -0
  167. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/tools/readme.md +0 -0
  168. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/update_fallback.py +0 -0
  169. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/__init__.py +0 -0
  170. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/makeversionhdr.py +0 -0
  171. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/manifest.py +0 -0
  172. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/utils/typed_config_toml.py +0 -0
  173. {micropython_stubber-1.23.3 → micropython_stubber-1.25.0.post1}/src/stubber/variants.py +0 -0
@@ -1,19 +1,18 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: micropython-stubber
3
- Version: 1.23.3
3
+ Version: 1.25.0.post1
4
4
  Summary: Tooling to create and maintain stubs for MicroPython
5
- Home-page: https://github.com/Josverl/micropython-stubber#readme
6
5
  License: MIT
7
6
  Keywords: MicroPython,stubs,vscode,pyright,linting,static type check
8
7
  Author: Jos Verlinde
9
8
  Author-email: jos_verlinde@hotmail.com
10
- Requires-Python: >=3.9,<4.0
9
+ Requires-Python: >=3.9.2,<4.0
11
10
  Classifier: License :: OSI Approved :: MIT License
12
11
  Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
12
  Classifier: Programming Language :: Python :: 3.10
15
13
  Classifier: Programming Language :: Python :: 3.11
16
14
  Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
17
16
  Classifier: Programming Language :: Python :: Implementation :: CPython
18
17
  Classifier: Programming Language :: Python :: Implementation :: MicroPython
19
18
  Classifier: Topic :: Software Development :: Build Tools
@@ -26,27 +25,28 @@ Requires-Dist: executing (>=2.0.1,<3.0.0)
26
25
  Requires-Dist: importlib-metadata (>=1,<9) ; python_version < "3.8"
27
26
  Requires-Dist: libcst (>=1.1.0,<2.0.0)
28
27
  Requires-Dist: loguru (>=0.6,<0.8)
29
- Requires-Dist: mpflash (>=1.0.5,<2.0.0)
30
- Requires-Dist: mpremote (>=1.23.0,<2.0.0)
31
- Requires-Dist: mypy (==1.10.1)
28
+ Requires-Dist: mpflash (>=1.25.0)
29
+ Requires-Dist: mpremote (>=1.24.1)
30
+ Requires-Dist: mypy (>=1.10)
32
31
  Requires-Dist: mypy-gitlab-code-quality (>=1.1.0,<2.0.0)
33
- Requires-Dist: packaging (>=21.3,<24.0)
32
+ Requires-Dist: packaging (>=24.2,<25.0)
34
33
  Requires-Dist: pipx (>=1.1.0,<2.0.0)
34
+ Requires-Dist: poetry (>=2.0.1,<3.0.0)
35
+ Requires-Dist: pydeps (==3.0.1)
35
36
  Requires-Dist: pygithub (>=2.1.1,<3.0.0)
36
37
  Requires-Dist: pypi-simple (>=1.0.0,<2.0.0)
37
- Requires-Dist: pyright (>=1.1.341,<2.0.0)
38
- Requires-Dist: pyserial (>=3.5,<4.0)
39
- Requires-Dist: pysondb-v2 (>=2.1.0,<3.0.0)
38
+ Requires-Dist: pyright (>=1.1.341)
39
+ Requires-Dist: pyserial (>=3.5)
40
40
  Requires-Dist: python-minifier (>=2.7.0,<3.0.0) ; python_version < "3.14"
41
41
  Requires-Dist: requests (>=2.32.3,<3.0.0)
42
42
  Requires-Dist: rich-click (>=1.8.3,<2.0.0)
43
- Requires-Dist: tabulate (>=0.9.0,<0.10.0)
44
- Requires-Dist: tenacity (>=8.2.2,<9.0.0)
43
+ Requires-Dist: tenacity (==9.0.0)
45
44
  Requires-Dist: tomli (>=2.0.1,<3.0.0) ; python_version < "3.11"
46
45
  Requires-Dist: tomli-w (>=1.0.0,<2.0.0)
47
46
  Requires-Dist: typed-config (>=1.3.0,<2.0.0)
48
47
  Requires-Dist: urllib3 (>=2.2.2,<3.0.0)
49
48
  Project-URL: Documentation, https://micropython-stubber.readthedocs.io/
49
+ Project-URL: Homepage, https://github.com/Josverl/micropython-stubber#readme
50
50
  Project-URL: Repository, https://github.com/Josverl/micropython-stubber
51
51
  Description-Content-Type: text/markdown
52
52
 
@@ -59,7 +59,6 @@ Description-Content-Type: text/markdown
59
59
  [![All Contributors](https://img.shields.io/badge/all_contributors-19-green.svg?style=flat-square)](#Contributions)
60
60
  <!-- break -->
61
61
  [![pytest stubber](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest.yml/badge.svg)](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest.yml)
62
- [![pytest mpflash](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest_mpflash.yml/badge.svg)](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest_mpflash.yml)
63
62
  [![Documentation Status](https://readthedocs.org/projects/micropython-stubber/badge/?version=latest)](https://micropython-stubber.readthedocs.io/en/latest/?badge=latest "Document build status badge")
64
63
  <!-- break -->
65
64
  [![Open in VSCode](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc
@@ -115,11 +114,8 @@ For more details how to use the stubs please refer to [the documentation on RTD]
115
114
  1. The sister-repo [**MicroPython-stubs**][stubs-repo] contains [all stubs][all-stubs] I have collected with the help of others, and which can be used directly.
116
115
  That repo also contains examples configuration files that can be easily adopted to your setup.
117
116
 
118
- 2. A second repo [micropy-stubs repo][stubs-repo2] maintained by BradenM, also contains stubs, but in a structure only used and distributed by the [micropy-cli](#using-micropy-cli) tool.
119
- You should use micropy-cli to consume stubs from that repo.
120
-
121
- The (stretch) goal is to create a VSCode add-in to simplify the configuration, and allow easy switching between different firmwares and versions.
122
-
117
+ 2. Micropython-stubber uses [MPFlash](https://github.com/Josverl/mpflash?tab=readme-ov-file) in some of its operations.
118
+ mpflash was formerly hosted in this repo, but has been moved to its own repo.
123
119
 
124
120
  ## Install and basic usage of the stubber tool
125
121
 
@@ -172,11 +168,27 @@ for more info see [**Renaming a branch**](https://docs.github.com/en/repositorie
172
168
 
173
169
  ## Licensing
174
170
 
175
- Both `MicroPython-Stubber` and `mpflash` are licensed under the MIT license, and all contributions should follow this [LICENSE](LICENSE).
171
+ `MicroPython-Stubber` is licensed under the MIT license, and all contributions should follow this [LICENSE](LICENSE).
176
172
 
177
173
 
178
174
  # Contributions
179
175
  <!-- spell-checker: disable -->
176
+ <!--
177
+ To add via the cli run the following command:
178
+ npx all-contributors-cli add user things
179
+ npx all-contributors-cli generate
180
+
181
+ - bug
182
+ - tool
183
+ - stubs
184
+ - test
185
+ - doc
186
+ - code
187
+ - research
188
+ - ideas
189
+ - content
190
+ - mpflash
191
+ -->
180
192
 
181
193
  <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
182
194
  <!-- prettier-ignore-start -->
@@ -184,7 +196,7 @@ Both `MicroPython-Stubber` and `mpflash` are licensed under the MIT license, and
184
196
  <table>
185
197
  <tbody>
186
198
  <tr>
187
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/Josverl"><img src="https://avatars2.githubusercontent.com/u/981654?v=4?s=100" width="100px;" alt="Jos Verlinde"/><br /><sub><b>Jos Verlinde</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/commits?author=josverl" title="Code">💻</a> <a href="#research-josverl" title="Research">🔬</a> <a href="#ideas-josverl" title="Ideas, Planning, & Feedback">🤔</a> <a href="#content-josverl" title="Content">🖋</a> <a href="#stubs-josverl" title="MicroPython stubs">🖍️</a> <a href="#test-josverl" title="Test">✅</a> <a href="#mpflash-josverl" title="mpflash">💥</a></td>
199
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Josverl"><img src="https://avatars2.githubusercontent.com/u/981654?v=4?s=100" width="100px;" alt="Jos Verlinde"/><br /><sub><b>Jos Verlinde</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/commits?author=josverl" title="Code">💻</a> <a href="#research-josverl" title="Research">🔬</a> <a href="#ideas-josverl" title="Ideas, Planning, & Feedback">🤔</a> <a href="#content-josverl" title="Content">🖋</a> <a href="#stubs-josverl" title="MicroPython stubs">🖍️</a> <a href="#test-josverl" title="Test">✅</a></td>
188
200
  <td align="center" valign="top" width="14.28%"><a href="https://thonny.org/"><img src="https://avatars1.githubusercontent.com/u/46202078?v=4?s=100" width="100px;" alt="Thonny, Python IDE for beginners"/><br /><sub><b>Thonny, Python IDE for beginners</b></sub></a><br /><a href="#ideas-thonny" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-thonny" title="Research">🔬</a></td>
189
201
  <td align="center" valign="top" width="14.28%"><a href="https://micropython.org/"><img src="https://avatars1.githubusercontent.com/u/6298560?v=4?s=100" width="100px;" alt="MicroPython"/><br /><sub><b>MicroPython</b></sub></a><br /><a href="#data-micropython" title="Data">🔣</a> <a href="#stubs-micropython" title="MicroPython stubs">🖍️</a></td>
190
202
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/microsoft/pyright"><img src="https://avatars.githubusercontent.com/u/6154722?v=4?s=100" width="100px;" alt="pyright"/><br /><sub><b>pyright</b></sub></a><br /><a href="#tool-pyright" title="Tools">🔧</a></td>
@@ -213,23 +225,9 @@ Both `MicroPython-Stubber` and `mpflash` are licensed under the MIT license, and
213
225
  <tr>
214
226
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/yegorLitvinov"><img src="https://avatars.githubusercontent.com/u/20367310?v=4?s=100" width="100px;" alt="Egor Litvinov"/><br /><sub><b>Egor Litvinov</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/issues?q=author%3AyegorLitvinov" title="Bug reports">🐛</a></td>
215
227
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/samskiter"><img src="https://avatars.githubusercontent.com/u/1271643?v=4?s=100" width="100px;" alt="Sam Duke"/><br /><sub><b>Sam Duke</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/commits?author=samskiter" title="Code">💻</a></td>
216
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/shariltumin"><img src="https://avatars.githubusercontent.com/u/186120?v=4?s=100" width="100px;" alt="shariltumin"/><br /><sub><b>shariltumin</b></sub></a><br /><a href="#mpflash-shariltumin" title="mpflash">💥</a> <a href="#test-shariltumin" title="Test">✅</a></td>
217
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/mattytrentini"><img src="https://avatars.githubusercontent.com/u/194201?v=4?s=100" width="100px;" alt="Matt Trentini"/><br /><sub><b>Matt Trentini</b></sub></a><br /><a href="#mpflash-mattytrentini" title="mpflash">💥</a> <a href="#test-mattytrentini" title="Test">✅</a></td>
218
- <td align="center" valign="top" width="14.28%"><a href="http://scruss.com/blog/"><img src="https://avatars.githubusercontent.com/u/425706?v=4?s=100" width="100px;" alt="Stewart Russell"/><br /><sub><b>Stewart Russell</b></sub></a><br /><a href="#mpflash-scruss" title="mpflash">💥</a> <a href="#test-scruss" title="Test">✅</a></td>
219
- <td align="center" valign="top" width="14.28%"><a href="https://www.gitlab.com/alelec"><img src="https://avatars.githubusercontent.com/u/3318786?v=4?s=100" width="100px;" alt="Andrew Leech"/><br /><sub><b>Andrew Leech</b></sub></a><br /><a href="#mpflash-andrewleech" title="mpflash">💥</a> <a href="#test-andrewleech" title="Test">✅</a></td>
220
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/wovo"><img src="https://avatars.githubusercontent.com/u/9039468?v=4?s=100" width="100px;" alt="Wouter van Ooijen"/><br /><sub><b>Wouter van Ooijen</b></sub></a><br /><a href="#mpflash-wovo" title="mpflash">💥</a> <a href="#test-wovo" title="Test">✅</a></td>
221
- </tr>
222
- <tr>
223
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/shaneapowell"><img src="https://avatars.githubusercontent.com/u/12113620?v=4?s=100" width="100px;" alt="Shane Powell"/><br /><sub><b>Shane Powell</b></sub></a><br /><a href="#mpflash-shaneapowell" title="mpflash">💥</a> <a href="#test-shaneapowell" title="Test">✅</a></td>
224
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/robert-hh"><img src="https://avatars.githubusercontent.com/u/12476868?v=4?s=100" width="100px;" alt="Robert Hammelrath"/><br /><sub><b>Robert Hammelrath</b></sub></a><br /><a href="#mpflash-robert-hh" title="mpflash">💥</a> <a href="#test-robert-hh" title="Test">✅</a></td>
225
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/beetlegigg"><img src="https://avatars.githubusercontent.com/u/34552737?v=4?s=100" width="100px;" alt="Bg"/><br /><sub><b>Bg</b></sub></a><br /><a href="#mpflash-beetlegigg" title="mpflash">💥</a> <a href="#test-beetlegigg" title="Test">✅</a></td>
226
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/rkompass"><img src="https://avatars.githubusercontent.com/u/90282516?v=4?s=100" width="100px;" alt="Raul Kompaß"/><br /><sub><b>Raul Kompaß</b></sub></a><br /><a href="#mpflash-rkompass" title="mpflash">💥</a> <a href="#test-rkompass" title="Test">✅</a></td>
227
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/garryp4"><img src="https://avatars.githubusercontent.com/u/96994876?v=4?s=100" width="100px;" alt="garryp4"/><br /><sub><b>garryp4</b></sub></a><br /><a href="#mpflash-garryp4" title="mpflash">💥</a> <a href="#test-garryp4" title="Test">✅</a></td>
228
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/shanepowell-ast"><img src="https://avatars.githubusercontent.com/u/102747617?v=4?s=100" width="100px;" alt="Shane Powell"/><br /><sub><b>Shane Powell</b></sub></a><br /><a href="#mpflash-shanepowell-ast" title="mpflash">💥</a> <a href="#test-shanepowell-ast" title="Test">✅</a></td>
229
- <td align="center" valign="top" width="14.28%"><a href="https://andypiper.org/"><img src="https://avatars.githubusercontent.com/u/552452?v=4?s=100" width="100px;" alt="Andy Piper"/><br /><sub><b>Andy Piper</b></sub></a><br /><a href="#mpflash-andypiper" title="mpflash">💥</a> <a href="#test-andypiper" title="Test">✅</a></td>
230
- </tr>
231
- <tr>
232
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/DavesCodeMusings"><img src="https://avatars.githubusercontent.com/u/61114342?v=4?s=100" width="100px;" alt="David Horton"/><br /><sub><b>David Horton</b></sub></a><br /><a href="#mpflash-DavesCodeMusings" title="mpflash">💥</a> <a href="#test-DavesCodeMusings" title="Test">✅</a></td>
228
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/hlovatt"><img src="https://avatars.githubusercontent.com/u/8424169?v=4?s=100" width="100px;" alt="Howard Lovatt"/><br /><sub><b>Howard Lovatt</b></sub></a><br /><a href="#stubs-hlovatt" title="MicroPython stubs">🖍️</a> <a href="#research-hlovatt" title="Research">🔬</a></td>
229
+ <td align="center" valign="top" width="14.28%"><a href="https://virtualwolf.org/"><img src="https://avatars.githubusercontent.com/u/1644623?v=4?s=100" width="100px;" alt="VirtualWolf"/><br /><sub><b>VirtualWolf</b></sub></a><br /><a href="#test-VirtualWolf" title="Test">✅</a></td>
230
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/lukaskremla"><img src="https://avatars.githubusercontent.com/u/155779787?v=4?s=100" width="100px;" alt="Lukas Kremla"/><br /><sub><b>Lukas Kremla</b></sub></a><br /><a href="#test-lukaskremla" title="Test">✅</a></td>
233
231
  </tr>
234
232
  </tbody>
235
233
  </table>
@@ -8,7 +8,7 @@ repo-path = "./repos"
8
8
 
9
9
  [tool.poetry]
10
10
  name = "micropython-stubber"
11
- version = "1.23.3"
11
+ version = "1.25.0.post1"
12
12
  description = "Tooling to create and maintain stubs for MicroPython"
13
13
  authors = ["Jos Verlinde <jos_verlinde@hotmail.com>"]
14
14
  license = "MIT"
@@ -47,12 +47,11 @@ mpflash = "mpflash.cli_main:mpflash"
47
47
  mpremote = "mpremote.main:main"
48
48
 
49
49
  [tool.poetry.dependencies]
50
- python = ">=3.9,<4.0"
50
+ python = ">=3.9.2,<4.0"
51
51
  python-minifier = { version = "^2.7.0", python = "<3.14" }
52
52
  requests = "^2.32.3"
53
- mypy = "1.10.1"
54
- mpflash = "^1.0.5"
55
- mpremote = "^1.23.0"
53
+ mpflash = ">=1.25.0"
54
+ mpremote = ">=1.24.1"
56
55
  # others
57
56
  autoflake = ">=1.7,<3.0"
58
57
  black = ">=22.10,<25.0"
@@ -63,30 +62,32 @@ executing = "^2.0.1"
63
62
  importlib-metadata = { version = ">=1,<9", python = "<3.8" }
64
63
  loguru = ">=0.6,<0.8"
65
64
  mypy-gitlab-code-quality = "^1.1.0"
66
- packaging = ">=21.3,<24.0"
65
+ packaging = "^24.2"
67
66
  pipx = "^1.1.0"
68
67
  pygithub = "^2.1.1"
69
- pyright = "^1.1.341"
70
- pyserial = "^3.5"
71
- pysondb-v2 = "^2.1.0"
68
+ pyserial = ">=3.5"
72
69
  pypi-simple = "^1.0.0"
73
70
  rich-click = "^1.8.3"
74
- tabulate = "^0.9.0"
75
- tenacity = "^8.2.2"
71
+ tenacity = "9.0.0"
76
72
  tomli = { version = "^2.0.1", python = "<3.11" }
77
73
  tomli-w = "^1.0.0"
78
74
  typed-config = "^1.3.0"
79
75
  urllib3 = "^2.2.2"
76
+ poetry = "^2.0.1"
77
+ pydeps = "3.0.1"
78
+ pyright = ">=1.1.341"
79
+ mypy = ">=1.10"
80
+
80
81
 
81
82
  [tool.poetry.group.docs]
82
83
  optional = true
83
84
  [tool.poetry.group.docs.dependencies]
84
- sphinx = "^7.2.6"
85
- myst-parser = ">=0.17"
85
+ sphinx = "^7.4.7"
86
+ myst-parser = "^3.0.1"
86
87
  sphinx_rtd_theme = ">=1,<3"
87
- sphinx-autoapi = "^3.0.0"
88
+ sphinx-autoapi = "^3.6.0"
88
89
  sphinx-click = "6.0.0"
89
- sphinxcontrib-mermaid = ">=0.9.2"
90
+ sphinxcontrib-mermaid = ">=1.0.0"
90
91
 
91
92
  [tool.poetry.group.test]
92
93
  optional = true
@@ -101,11 +102,12 @@ mock = "^4.0.3"
101
102
  distro = "^1.8.0"
102
103
  fasteners = "^0.19"
103
104
  jsons = "^1.6.3"
105
+ pytest-cov = "^6.0.0"
104
106
 
105
107
  [tool.poetry.group.dev]
106
108
  optional = true
107
109
  [tool.poetry.group.dev.dependencies]
108
- pydeps = "^1.10.22"
110
+ pydeps = ">=1.10.22,<4.0.0"
109
111
  ipykernel = "^6.23.1"
110
112
  python-dotenv = "^1.0.0"
111
113
  pydocstyle = "^6.3.0"
@@ -172,6 +174,7 @@ reportUnboundVariable = "information"
172
174
  ReportSelfClsParameterName = "information"
173
175
  reportOptionalSubscript = "information"
174
176
  reportCallInDefaultInitializer = "error"
177
+ # reportAssignmentType = "warning"
175
178
  # Section 3 - reduce noise
176
179
  reportMissingTypeStubs = "none"
177
180
  reportOptionalMemberAccess = "none" # "read" is not a known member of "None" - occurs often in frozen code
@@ -187,6 +190,7 @@ reportUnknownVariableType = "none"
187
190
  reportUntypedNamedTuple = "none"
188
191
 
189
192
 
193
+
190
194
  # "executionEnvironments" = [
191
195
  # { "root" = "src/stubber/boards", "extraPaths" = [
192
196
  # "typings_mpy",
@@ -227,9 +231,7 @@ python_files = ["test_*.py", "*_test.py"]
227
231
  testpaths = [
228
232
  "tests",
229
233
  "src/stubber",
230
- "src/mpflash",
231
- "repos/micropython-stubs/tests",
232
- "modules/**/tests",
234
+ # "repos/micropython-stubs/tests",
233
235
  ]
234
236
  norecursedirs = [
235
237
  ".*",
@@ -248,7 +250,6 @@ addopts = "--verbose --capture=no -m 'not basicgit'"
248
250
 
249
251
  markers = [
250
252
  "stubber: marks tests of the stubber tool",
251
- "mpflash: marks tests of the mpflash tool",
252
253
  "snippets: test snippets to check the stubs",
253
254
 
254
255
  "legacy: reeally old tests that need to be updated or removed",
@@ -282,7 +283,7 @@ markers = [
282
283
  [tool.coverage.run]
283
284
  parallel = false
284
285
  branch = true
285
- source = ["src/stubber", "src/mpflash"]
286
+ source = ["src/stubber"]
286
287
  omit = [
287
288
  # helper files in board
288
289
  "*/boot.py",
@@ -295,7 +296,6 @@ omit = [
295
296
 
296
297
  # not my code
297
298
  "*/src/stubber/tools/*.py",
298
- "*/src/mpflash/mpflash/vendored/*.py",
299
299
 
300
300
  # partial files for variant generation
301
301
  "*/codemod/_partials/*.py",
@@ -379,3 +379,40 @@ method_length = 50
379
379
  method_cyclomatic_complexity = 99
380
380
  method_cognitive_complexity = 99
381
381
  method_working_memory = 99
382
+
383
+
384
+ [tool.ruff]
385
+ # Exclude a variety of commonly ignored directories.
386
+
387
+ # Same as Black.
388
+ line-length = 140
389
+ indent-width = 4
390
+
391
+ #Stubs should be usable Python 3.9
392
+ target-version = "py39"
393
+
394
+ [tool.ruff.format]
395
+ # Like Black, use double quotes for strings.
396
+ quote-style = "double"
397
+ exclude = [".*", "__*", "dist", "repos"]
398
+
399
+ # Like Black, indent with spaces, rather than tabs.
400
+ indent-style = "space"
401
+
402
+ # Like Black, respect magic trailing commas.
403
+ skip-magic-trailing-comma = false
404
+
405
+ # Like Black, automatically detect the appropriate line ending.
406
+ line-ending = "auto"
407
+
408
+ [tool.ruff.lint]
409
+ exclude = [".*", "__*", "dist", "repos"]
410
+ # # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
411
+ # # Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
412
+ # # McCabe complexity (`C901`) by default.
413
+ # select = ["E4", "E7", "E9", "F", "U"]
414
+ # ignore = ["E402", "E741", "F821", "F403", "UP015" ] # , "U032", "U035"]
415
+ # # Allow fix for all enabled rules (when `--fix`) is provided.
416
+ # fixable = ["ALL"]
417
+ # unfixable = []
418
+
@@ -7,7 +7,6 @@
7
7
  [![All Contributors](https://img.shields.io/badge/all_contributors-19-green.svg?style=flat-square)](#Contributions)
8
8
  <!-- break -->
9
9
  [![pytest stubber](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest.yml/badge.svg)](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest.yml)
10
- [![pytest mpflash](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest_mpflash.yml/badge.svg)](https://github.com/Josverl/micropython-stubber/actions/workflows/pytest_mpflash.yml)
11
10
  [![Documentation Status](https://readthedocs.org/projects/micropython-stubber/badge/?version=latest)](https://micropython-stubber.readthedocs.io/en/latest/?badge=latest "Document build status badge")
12
11
  <!-- break -->
13
12
  [![Open in VSCode](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc
@@ -63,11 +62,8 @@ For more details how to use the stubs please refer to [the documentation on RTD]
63
62
  1. The sister-repo [**MicroPython-stubs**][stubs-repo] contains [all stubs][all-stubs] I have collected with the help of others, and which can be used directly.
64
63
  That repo also contains examples configuration files that can be easily adopted to your setup.
65
64
 
66
- 2. A second repo [micropy-stubs repo][stubs-repo2] maintained by BradenM, also contains stubs, but in a structure only used and distributed by the [micropy-cli](#using-micropy-cli) tool.
67
- You should use micropy-cli to consume stubs from that repo.
68
-
69
- The (stretch) goal is to create a VSCode add-in to simplify the configuration, and allow easy switching between different firmwares and versions.
70
-
65
+ 2. Micropython-stubber uses [MPFlash](https://github.com/Josverl/mpflash?tab=readme-ov-file) in some of its operations.
66
+ mpflash was formerly hosted in this repo, but has been moved to its own repo.
71
67
 
72
68
  ## Install and basic usage of the stubber tool
73
69
 
@@ -120,11 +116,27 @@ for more info see [**Renaming a branch**](https://docs.github.com/en/repositorie
120
116
 
121
117
  ## Licensing
122
118
 
123
- Both `MicroPython-Stubber` and `mpflash` are licensed under the MIT license, and all contributions should follow this [LICENSE](LICENSE).
119
+ `MicroPython-Stubber` is licensed under the MIT license, and all contributions should follow this [LICENSE](LICENSE).
124
120
 
125
121
 
126
122
  # Contributions
127
123
  <!-- spell-checker: disable -->
124
+ <!--
125
+ To add via the cli run the following command:
126
+ npx all-contributors-cli add user things
127
+ npx all-contributors-cli generate
128
+
129
+ - bug
130
+ - tool
131
+ - stubs
132
+ - test
133
+ - doc
134
+ - code
135
+ - research
136
+ - ideas
137
+ - content
138
+ - mpflash
139
+ -->
128
140
 
129
141
  <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
130
142
  <!-- prettier-ignore-start -->
@@ -132,7 +144,7 @@ Both `MicroPython-Stubber` and `mpflash` are licensed under the MIT license, and
132
144
  <table>
133
145
  <tbody>
134
146
  <tr>
135
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/Josverl"><img src="https://avatars2.githubusercontent.com/u/981654?v=4?s=100" width="100px;" alt="Jos Verlinde"/><br /><sub><b>Jos Verlinde</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/commits?author=josverl" title="Code">💻</a> <a href="#research-josverl" title="Research">🔬</a> <a href="#ideas-josverl" title="Ideas, Planning, & Feedback">🤔</a> <a href="#content-josverl" title="Content">🖋</a> <a href="#stubs-josverl" title="MicroPython stubs">🖍️</a> <a href="#test-josverl" title="Test">✅</a> <a href="#mpflash-josverl" title="mpflash">💥</a></td>
147
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/Josverl"><img src="https://avatars2.githubusercontent.com/u/981654?v=4?s=100" width="100px;" alt="Jos Verlinde"/><br /><sub><b>Jos Verlinde</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/commits?author=josverl" title="Code">💻</a> <a href="#research-josverl" title="Research">🔬</a> <a href="#ideas-josverl" title="Ideas, Planning, & Feedback">🤔</a> <a href="#content-josverl" title="Content">🖋</a> <a href="#stubs-josverl" title="MicroPython stubs">🖍️</a> <a href="#test-josverl" title="Test">✅</a></td>
136
148
  <td align="center" valign="top" width="14.28%"><a href="https://thonny.org/"><img src="https://avatars1.githubusercontent.com/u/46202078?v=4?s=100" width="100px;" alt="Thonny, Python IDE for beginners"/><br /><sub><b>Thonny, Python IDE for beginners</b></sub></a><br /><a href="#ideas-thonny" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-thonny" title="Research">🔬</a></td>
137
149
  <td align="center" valign="top" width="14.28%"><a href="https://micropython.org/"><img src="https://avatars1.githubusercontent.com/u/6298560?v=4?s=100" width="100px;" alt="MicroPython"/><br /><sub><b>MicroPython</b></sub></a><br /><a href="#data-micropython" title="Data">🔣</a> <a href="#stubs-micropython" title="MicroPython stubs">🖍️</a></td>
138
150
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/microsoft/pyright"><img src="https://avatars.githubusercontent.com/u/6154722?v=4?s=100" width="100px;" alt="pyright"/><br /><sub><b>pyright</b></sub></a><br /><a href="#tool-pyright" title="Tools">🔧</a></td>
@@ -161,23 +173,9 @@ Both `MicroPython-Stubber` and `mpflash` are licensed under the MIT license, and
161
173
  <tr>
162
174
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/yegorLitvinov"><img src="https://avatars.githubusercontent.com/u/20367310?v=4?s=100" width="100px;" alt="Egor Litvinov"/><br /><sub><b>Egor Litvinov</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/issues?q=author%3AyegorLitvinov" title="Bug reports">🐛</a></td>
163
175
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/samskiter"><img src="https://avatars.githubusercontent.com/u/1271643?v=4?s=100" width="100px;" alt="Sam Duke"/><br /><sub><b>Sam Duke</b></sub></a><br /><a href="https://github.com/Josverl/micropython-stubber/commits?author=samskiter" title="Code">💻</a></td>
164
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/shariltumin"><img src="https://avatars.githubusercontent.com/u/186120?v=4?s=100" width="100px;" alt="shariltumin"/><br /><sub><b>shariltumin</b></sub></a><br /><a href="#mpflash-shariltumin" title="mpflash">💥</a> <a href="#test-shariltumin" title="Test">✅</a></td>
165
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/mattytrentini"><img src="https://avatars.githubusercontent.com/u/194201?v=4?s=100" width="100px;" alt="Matt Trentini"/><br /><sub><b>Matt Trentini</b></sub></a><br /><a href="#mpflash-mattytrentini" title="mpflash">💥</a> <a href="#test-mattytrentini" title="Test">✅</a></td>
166
- <td align="center" valign="top" width="14.28%"><a href="http://scruss.com/blog/"><img src="https://avatars.githubusercontent.com/u/425706?v=4?s=100" width="100px;" alt="Stewart Russell"/><br /><sub><b>Stewart Russell</b></sub></a><br /><a href="#mpflash-scruss" title="mpflash">💥</a> <a href="#test-scruss" title="Test">✅</a></td>
167
- <td align="center" valign="top" width="14.28%"><a href="https://www.gitlab.com/alelec"><img src="https://avatars.githubusercontent.com/u/3318786?v=4?s=100" width="100px;" alt="Andrew Leech"/><br /><sub><b>Andrew Leech</b></sub></a><br /><a href="#mpflash-andrewleech" title="mpflash">💥</a> <a href="#test-andrewleech" title="Test">✅</a></td>
168
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/wovo"><img src="https://avatars.githubusercontent.com/u/9039468?v=4?s=100" width="100px;" alt="Wouter van Ooijen"/><br /><sub><b>Wouter van Ooijen</b></sub></a><br /><a href="#mpflash-wovo" title="mpflash">💥</a> <a href="#test-wovo" title="Test">✅</a></td>
169
- </tr>
170
- <tr>
171
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/shaneapowell"><img src="https://avatars.githubusercontent.com/u/12113620?v=4?s=100" width="100px;" alt="Shane Powell"/><br /><sub><b>Shane Powell</b></sub></a><br /><a href="#mpflash-shaneapowell" title="mpflash">💥</a> <a href="#test-shaneapowell" title="Test">✅</a></td>
172
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/robert-hh"><img src="https://avatars.githubusercontent.com/u/12476868?v=4?s=100" width="100px;" alt="Robert Hammelrath"/><br /><sub><b>Robert Hammelrath</b></sub></a><br /><a href="#mpflash-robert-hh" title="mpflash">💥</a> <a href="#test-robert-hh" title="Test">✅</a></td>
173
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/beetlegigg"><img src="https://avatars.githubusercontent.com/u/34552737?v=4?s=100" width="100px;" alt="Bg"/><br /><sub><b>Bg</b></sub></a><br /><a href="#mpflash-beetlegigg" title="mpflash">💥</a> <a href="#test-beetlegigg" title="Test">✅</a></td>
174
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/rkompass"><img src="https://avatars.githubusercontent.com/u/90282516?v=4?s=100" width="100px;" alt="Raul Kompaß"/><br /><sub><b>Raul Kompaß</b></sub></a><br /><a href="#mpflash-rkompass" title="mpflash">💥</a> <a href="#test-rkompass" title="Test">✅</a></td>
175
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/garryp4"><img src="https://avatars.githubusercontent.com/u/96994876?v=4?s=100" width="100px;" alt="garryp4"/><br /><sub><b>garryp4</b></sub></a><br /><a href="#mpflash-garryp4" title="mpflash">💥</a> <a href="#test-garryp4" title="Test">✅</a></td>
176
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/shanepowell-ast"><img src="https://avatars.githubusercontent.com/u/102747617?v=4?s=100" width="100px;" alt="Shane Powell"/><br /><sub><b>Shane Powell</b></sub></a><br /><a href="#mpflash-shanepowell-ast" title="mpflash">💥</a> <a href="#test-shanepowell-ast" title="Test">✅</a></td>
177
- <td align="center" valign="top" width="14.28%"><a href="https://andypiper.org/"><img src="https://avatars.githubusercontent.com/u/552452?v=4?s=100" width="100px;" alt="Andy Piper"/><br /><sub><b>Andy Piper</b></sub></a><br /><a href="#mpflash-andypiper" title="mpflash">💥</a> <a href="#test-andypiper" title="Test">✅</a></td>
178
- </tr>
179
- <tr>
180
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/DavesCodeMusings"><img src="https://avatars.githubusercontent.com/u/61114342?v=4?s=100" width="100px;" alt="David Horton"/><br /><sub><b>David Horton</b></sub></a><br /><a href="#mpflash-DavesCodeMusings" title="mpflash">💥</a> <a href="#test-DavesCodeMusings" title="Test">✅</a></td>
176
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/hlovatt"><img src="https://avatars.githubusercontent.com/u/8424169?v=4?s=100" width="100px;" alt="Howard Lovatt"/><br /><sub><b>Howard Lovatt</b></sub></a><br /><a href="#stubs-hlovatt" title="MicroPython stubs">🖍️</a> <a href="#research-hlovatt" title="Research">🔬</a></td>
177
+ <td align="center" valign="top" width="14.28%"><a href="https://virtualwolf.org/"><img src="https://avatars.githubusercontent.com/u/1644623?v=4?s=100" width="100px;" alt="VirtualWolf"/><br /><sub><b>VirtualWolf</b></sub></a><br /><a href="#test-VirtualWolf" title="Test">✅</a></td>
178
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/lukaskremla"><img src="https://avatars.githubusercontent.com/u/155779787?v=4?s=100" width="100px;" alt="Lukas Kremla"/><br /><sub><b>Lukas Kremla</b></sub></a><br /><a href="#test-lukaskremla" title="Test">✅</a></td>
181
179
  </tr>
182
180
  </tbody>
183
181
  </table>
@@ -0,0 +1,3 @@
1
+ """get the version"""
2
+
3
+ __version__ = "1.25.0"