Releases: Josverl/micropython-stubber
v1.16.2
v1.16.1
v1.15.1
v1.15.0
Improvement in frozen stubs
Some of the module stubs are generated based on the python modules.
There usually contain little or no docstring information, while the documentation does have that infromation
The stubber tool has been updated to to merge the information from the documentation into these frozen stubs, providing combined and richer information where the two can be matched.
Enrich both Python and C modules
Some of the modules are built partly in (frozen) Python and partly in C(++). by convention the C part of the module is prefixes with an _
an example are the rp2
and the _rp2
modules where the classes and methos of both have been documented in a single document rp2/.st
The documentation merge process will now also enrich the _rp2.pyi
and similar named stub files
Quality Testing.
In order to keep an eye on quality, and find cases where the stubs prove incorrect type-hints,
I have setup pytest with some custom configuration to track the quality.
Due to the diversity of features and functionality across ports, boards and versions this should help spot where stubs are not providing the expected/desired results.
( the plan it to move this approach to the stubs repo)
What's Changed
- chore(deps): bump urllib3 from 2.0.6 to 2.0.7 by @dependabot in #432
- chore(deps-dev): bump myst-parser from 0.18.1 to 1.0.0 by @dependabot in #431
- Dev/enrich frozen (Sourcery refactored) by @sourcery-ai in #439
- Fix bug in get-frozen when using version=latest by @samskiter in #442
- add samskiter as a contributor for code by @allcontributors in #444
- Dev/enrich frozen by @Josverl in #433
- chore(deps-dev): bump sphinx-click from 4.4.0 to 5.0.1 by @dependabot in #436
- chore(deps-dev): bump pytest-metadata from 2.0.4 to 3.0.0 by @dependabot in #446
- chore(deps): bump pyright from 1.1.329 to 1.1.334 by @dependabot in #447
- chore(deps-dev): bump pytest-github-actions-annotate-failures from 0.1.8 to 0.2.0 by @dependabot in #437
- chore(deps): bump mypy from 1.2.0 to 1.7.0 by @dependabot in #450
New Contributors
- @samskiter made their first contribution in #442
Full Changelog: v1.14.1...v1.15.0
v1.14.1
What's Changed
- Address codescanning alerts by @Josverl in #350
- new action to publish mip packages by @Josverl in #351
- chore(deps-dev): bump sphinxcontrib-mermaid from 0.7.1 to 0.8.1 by @dependabot in #354
- chore(deps-dev): bump ipykernel from 6.21.2 to 6.21.3 by @dependabot in #353
- chore(deps): bump packaging from 21.3 to 23.0 by @dependabot in #355
- chore(deps-dev): bump sourcery-cli from 1.0.5 to 1.0.6 by @dependabot in #356
- chore(deps-dev): bump sourcery-cli from 1.0.6 to 1.0.9 by @dependabot in #363
- chore(deps): bump esptool from 4.5 to 4.5.1 by @dependabot in #362
- chore(deps-dev): bump myst-parser from 0.17.2 to 0.18.1 by @dependabot in #361
- chore(deps): bump black from 22.12.0 to 23.1.0 by @dependabot in #360
- fix frozen freeze manifest by @Josverl in #365
- chore(deps-dev): bump coverage from 6.5.0 to 7.1.0 by @dependabot in #371
- chore(deps): bump importlib-metadata from 6.0.0 to 6.1.0 by @dependabot in #369
- chore(deps-dev): bump pytest from 7.2.1 to 7.2.2 by @dependabot in #370
- feat:add callable interface to the Pin class and the Signal class by @Josverl in #375
- chore(deps-dev): bump mock from 4.0.3 to 5.0.1 by @dependabot in #376
- chore(deps): bump mypy from 0.991 to 1.2.0 by @dependabot in #385
- chore(deps-dev): bump pytest from 7.2.2 to 7.3.0 by @dependabot in #384
- chore(deps-dev): bump sphinx from 4.5.0 to 5.3.0 by @dependabot in #378
- Update Board stubber (Sourcery refactored) by @sourcery-ai in #395
- chore(deps): bump pyright from 1.1.301 to 1.1.310 by @dependabot in #402
- Stdlib-updates by @Josverl in #425
- Testable snippets by @Josverl in #424
- Add workflow to score stubs by @Josverl in #430
- chore(deps): bump loguru from 0.6.0 to 0.7.2 by @dependabot in #426
- Update Board stubber by @Josverl in #380
Full Changelog: v1.13.2...v1.14.1
v1.14.0
v1.13.7
Bump version for 1.20.0
What's Changed
- feat:add callable interface to the Pin class and the Signal class by @Josverl in #375
- chore(deps-dev): bump mock from 4.0.3 to 5.0.1 by @dependabot in #376
- chore(deps): bump mypy from 0.991 to 1.2.0 by @dependabot in #385
- chore(deps-dev): bump pytest from 7.2.2 to 7.3.0 by @dependabot in #384
- chore(deps-dev): bump sphinx from 4.5.0 to 5.3.0 by @dependabot in #378
Full Changelog: v1.13.3...V1.13.4
v1.13.3
What's Changed
- Address codescanning alerts by @Josverl in #350
- new action to publish mip packages by @Josverl in #351
fixes
updates
- chore(deps-dev): bump sphinxcontrib-mermaid from 0.7.1 to 0.8.1 by @dependabot in #354
- chore(deps-dev): bump ipykernel from 6.21.2 to 6.21.3 by @dependabot in #353
- chore(deps): bump packaging from 21.3 to 23.0 by @dependabot in #355
- chore(deps-dev): bump sourcery-cli from 1.0.5 to 1.0.6 by @dependabot in #356
- chore(deps-dev): bump sourcery-cli from 1.0.6 to 1.0.9 by @dependabot in #363
- chore(deps): bump esptool from 4.5 to 4.5.1 by @dependabot in #362
- chore(deps-dev): bump myst-parser from 0.17.2 to 0.18.1 by @dependabot in #361
- chore(deps): bump black from 22.12.0 to 23.1.0 by @dependabot in #360
- chore(deps-dev): bump coverage from 6.5.0 to 7.1.0 by @dependabot in #371
- chore(deps): bump importlib-metadata from 6.0.0 to 6.1.0 by @dependabot in #369
- chore(deps-dev): bump pytest from 7.2.1 to 7.2.2 by @dependabot in #370
Full Changelog: v1.13.2...v1.13.3