-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add Missing type annotations #5
Conversation
I started looking at this, I can continue this evening. If you want to take a shot at the remaining ones, go for it, but I"m also happy to help with them if you'd like! |
the biggest issue is digitalio.Pull is an enum, right? so what is the value of digitalio.Pull.UP? |
So, I don't think they're technically Enums, but I think it's fair to treat it like they are. But the exact typing of "the value of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me know if you also want to take a stab at annotating the few functions that still need annotations!
resubmitted for a review of missing items and changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 5.0.5 from 5.0.4: > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#175 from rivques/main Updating https://github.com/adafruit/Adafruit_CircuitPython_TCA8418 to 1.0.2 from 1.0.1: > Merge pull request adafruit/Adafruit_CircuitPython_TCA8418#5 from tcfranks/main Updating https://github.com/adafruit/Adafruit_CircuitPython_MacroPad to 2.1.8 from 2.1.7: > Merge pull request adafruit/Adafruit_CircuitPython_MacroPad#43 from prcutler/issue40
resolves #2
submitted for review / comment
WARNING: I'm squishy on lines 338 and up!! (didn't find much info on the values, but pretty sure i've used variable/constant definitions which are sus.....)