-
Notifications
You must be signed in to change notification settings - Fork 101
Add type hints #119
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 type hints #119
Conversation
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.
These changes look good to me. I tested neopixel_pixel.py
and neopixel_simpletest.py
successfully on:
Adafruit CircuitPython 7.0.0-179-ge8a2e4a62-dirty on 2021-10-09; Adafruit Feather RP2040 with rp2040
Board ID:adafruit_feather_rp2040
Since this is such a high profile library I'd like to get another set of eyes on it as well, and hopefully get the rpi example tested with Blinka.
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.
I tested it before the last commit but everything looks fine to me as well.
Updating https://github.com/adafruit/Adafruit_CircuitPython_ILI9341 to 1.3.1 from 1.3.0: > Merge pull request adafruit/Adafruit_CircuitPython_ILI9341#29 from FoamyGuy/type_info > Globally disabled consider-using-f-string pylint check Updating https://github.com/adafruit/Adafruit_CircuitPython_NeoPixel to 6.2.2 from 6.2.1: > Merge pull request adafruit/Adafruit_CircuitPython_NeoPixel#119 from jsymons/typing > Globally disabled consider-using-f-string pylint check Updating https://github.com/adafruit/Adafruit_CircuitPython_Seesaw to 1.10.0 from 1.9.2: > Merge pull request adafruit/Adafruit_CircuitPython_seesaw#85 from ladyada/master > Merge pull request adafruit/Adafruit_CircuitPython_seesaw#81 from FoamyGuy/use_rainbowio > Globally disabled consider-using-f-string pylint check Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1306 to 2.12.2 from 2.12.1: > Merge pull request adafruit/Adafruit_CircuitPython_SSD1306#69 from careyk007/add_missing_type_annotations > Globally disabled consider-using-f-string pylint check Updating https://github.com/adafruit/Adafruit_CircuitPython_ST7789 to 1.5.2 from 1.5.1: > Merge pull request adafruit/Adafruit_CircuitPython_ST7789#27 from helgibbons/Display-Pack-2.0 > Globally disabled consider-using-f-string pylint check
Adds type hints to
neopixel.py
as per #118