Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference/rp2 #779

Open
wants to merge 63 commits into
base: main
Choose a base branch
from
Open

Reference/rp2 #779

wants to merge 63 commits into from

Conversation

Josverl
Copy link
Owner

@Josverl Josverl commented Jan 20, 2025

This pull request includes several changes to the type stubs and type aliases for various MicroPython modules. The most important changes include the addition of new type stubs, updates to existing type aliases, and improvements to the documentation.

refactor asyncio

New type stubs and classes:

Updates to existing type aliases:

Improvements to documentation:

Other changes:

  • micropython-reference/_rp2/__init__.pyi: Updated import statements to use the rp2 module directly and removed outdated module information.This pull request includes several changes to the MicroPython type stubs to improve type checking and documentation. The most important changes include the addition of new type aliases and protocol classes, updates to existing type aliases, and the addition of new class definitions.

Additions and Updates to Type Aliases and Protocols:

New Class Definitions:

Imports and Documentation:

Code Refactoring:

…implementation details of `_rp2`.

Signed-off-by: Jos Verlinde <[email protected]>
…ion.

- 0 errors, 10 warnings, 2 informations
- 0 errors, 0 warnings, 2 informations  Needs  manual copy of FOO = const(0)

Signed-off-by: Jos Verlinde <[email protected]>
@Josverl Josverl self-assigned this Jan 20, 2025
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
(cherry picked from commit 61d8f79)
Signed-off-by: Jos Verlinde <[email protected]>
(cherry picked from commit 61d8f79)
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
This was a (long standing) workaround for missing methods,
and has now been replaced by merges from the micropython stub in reference-stubs

Signed-off-by: Jos Verlinde <[email protected]>
These are based on the reference merge refactor of stubber.

Signed-off-by: Jos Verlinde <[email protected]>
These are based on the reference merge refactor of stubber.

Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
Signed-off-by: Jos Verlinde <[email protected]>
@Josverl Josverl force-pushed the reference/rp2 branch 2 times, most recently from a0f3759 to 60a9d1d Compare January 29, 2025 21:20
Signed-off-by: Jos Verlinde <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant