-
Notifications
You must be signed in to change notification settings - Fork 9
Add type hints #8
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
Conversation
The particular part of the CI failing is because I've added type hints for a PIL Image where it's expecting one, but Pillow is not part of the requirements.txt. Would you rather I update the requirements.txt to require Pillow or find some typing workaround? |
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.
Thanks for working on this @jsymons
I think we can add |
I will look this over later on tonight. |
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.
The changes from this PR look good to me. However I do not have the hardware to test with.
It needs merged from main to resolve some conflicts now though. Do you know how to do that @jsymons?
Yeah, I'll get to it later tonight. |
Conflicts have been resolved now @FoamyGuy |
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 to me now! @FoamyGuy I do not think either of us have all the h/w to test all of these we may want to find out if it is worth just merging them as they are passing CI and none of the changes should affect them running?
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 to me. Thanks for working on this @jsymons
Updating https://github.com/adafruit/Adafruit_CircuitPython_IS31FL3741 to 1.1.4 from 1.1.3: > Merge pull request adafruit/Adafruit_CircuitPython_IS31FL3741#8 from jsymons/typing Updating https://github.com/adafruit/Adafruit_CircuitPython_OV5640 to 1.0.1 from 1.0.0: > Merge pull request adafruit/Adafruit_CircuitPython_OV5640#7 from adafruit/fix-effects-modes > Merge pull request adafruit/Adafruit_CircuitPython_OV5640#5 from adafruit/boost-pixel-clock Updating https://github.com/adafruit/Adafruit_CircuitPython_Seesaw to 1.10.1 from 1.10.0: > Merge pull request adafruit/Adafruit_CircuitPython_seesaw#86 from kattni/simpletest
Adds type hints to the following files per #7 :
adafruit_is31fl3741/__init__.py
adafruit_is31fl3741/issi_evb.py
adafruit_is31fl3741/adafruit_rgbmatrixqt.py
adafruit_is31fl3741/adafruit_ledglasses.py