forked from micropython/micropython
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Adding type hints #3107
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
Merged
Merged
Adding type hints #3107
Changes from 4 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
7aa6898
Added type hints to analogio
evaherrada 6fd6747
Added type hints for analogio
evaherrada cb259de
Did busio, fixed up analogio
evaherrada 596f2f6
Merge branch 'type_hints' of https://github.com/dherrada/circuitpytho…
evaherrada d1664bd
Fixed extract_pyi script to allow NoneType
evaherrada 1e96ca5
Made more modifications to extract_pyi.py
evaherrada 627ecad
Did aesio
evaherrada 427733a
More tweaks to extract_pyi.py
evaherrada 2681bd5
Did audiobusio
evaherrada b26ee6c
Added type hints to audiocore
evaherrada 3d1e005
Added type hints to audioio
evaherrada 24bca06
Added type hints to audiomixer
evaherrada e114b31
Added type hints to audiomp3
evaherrada e169da3
More extract_pyi tweaks
evaherrada ed476a4
Added type hints to audiopwmio
evaherrada ffc5f0c
Added type hints to bitbangio
evaherrada ac113fd
Changed bytearray to a union
evaherrada 522b17c
Made suggested changes
evaherrada 54cb1fe
Removed all 'self, )'
evaherrada 26f1fd0
Added type hints to _bleio
evaherrada 51fd286
Added type hints to board
evaherrada dd27fdf
Added type hints to countio
evaherrada 9b4ffc0
Changed unions to ReadableBuffer and WriteableBuffer
evaherrada 783cc4d
Added type hints to displayio
evaherrada 48ea227
Added type hints to fontio
evaherrada ca0e8ea
Added type hints to framebufferio
evaherrada 5184144
Added type hints to frequencyio
evaherrada ff8604b
Added type hints to gamepad
evaherrada d73348f
Added type hints to gamepadshift
evaherrada 6a3968d
Added type hints to gnss
evaherrada 2e8b8c7
Added type hints to i2cperipheral
evaherrada 0a8d9ee
Added type hints to microcontroller
evaherrada 0abf45a
Added type hints to nvm
evaherrada e273b9a
Added type hints to _pew
evaherrada 41f12a7
Added type hints to pixelbuf
evaherrada a2c7e27
Added type hints to ps2io
evaherrada 93d2007
Added type hints to pulseio
evaherrada c8437e6
Added type hints to rgbmatrix
evaherrada d9a98bd
Added type hints to rotaryio
evaherrada 48443ce
Added type hints to sdcardio
evaherrada 71ec419
Added type hints to sdioio
evaherrada 9116470
Added type hints to socket
evaherrada 6e4c76a
Added type hints to _stage
evaherrada f822937
Added type hints to terminalio
evaherrada 0a65709
Added type hints to touchio
evaherrada e089862
Added type hints to usb_hid
evaherrada 9c842c5
Added type hints to usb_midi
evaherrada 5163618
Added type hints to watchdog
evaherrada 843ff5d
Added type hints to wiznet
evaherrada 3df03a5
Made most of the requested changes
evaherrada d358c91
Fixed init formatting
evaherrada d0d949c
Made every init return None
evaherrada f56deb6
Added type hints to _eve
evaherrada 591cc1a
Added type hints to math
evaherrada 9122d0b
Added type hints to multiterminal
evaherrada aaa550b
Added type hints to network
evaherrada e237dfe
Added type hints to os
evaherrada 97d405e
Added type hints to random
evaherrada a88004e
Added type hints to rtc
evaherrada 45b6e01
Added type hints to storage
evaherrada 4758081
Added type hints to struct
evaherrada 4c5a9d1
Added type hints to time
evaherrada 657c651
Added type hints to uheap
evaherrada 9911b64
Added type hints to ustack
evaherrada bce77ad
Added type hints previously missed
evaherrada bfcaa4b
Made requested changes in displayio
evaherrada d64b4e3
Made more requested changes
evaherrada 612c6bb
Merge branch 'main' into type_hints
evaherrada 9e3fa86
Merge branch 'main' into type_hints
evaherrada File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.