-
Notifications
You must be signed in to change notification settings - Fork 20
Fix docstrings, use duck typing #32
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
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 fixing all the doc errors, especially!
Use try/except for Protocol import Co-authored-by: Dan Halbert <[email protected]>
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.
👍
ugh, I think my proposed change has indentation issues |
@tekktrik Could you fix this in your fork? I tried a simple GitHub edit, but the formatting is still not good: black complained. You'll need to pull the latest commit. |
@dhalbert no problem, pushed the fix |
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 5.0.0 from 4.2.4: > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#164 from dannystaple/use-connection-errors Updating https://github.com/adafruit/Adafruit_CircuitPython_HT16K33 to 4.5.0 from 4.4.1: > Merge pull request adafruit/Adafruit_CircuitPython_HT16K33#101 from makermelissa/multidisplay-support Updating https://github.com/adafruit/Adafruit_CircuitPython_SGP30 to 3.0.0 from 2.4.2: > Merge pull request adafruit/Adafruit_CircuitPython_SGP30#36 from vladak/celsius Updating https://github.com/adafruit/Adafruit_CircuitPython_LIFX to 1.10.5 from 1.10.4: > Merge pull request adafruit/Adafruit_CircuitPython_LIFX#14 from tekktrik/main Updating https://github.com/adafruit/Adafruit_CircuitPython_Logging to 4.1.1 from 4.1.0: > Merge pull request adafruit/Adafruit_CircuitPython_Logging#32 from tekktrik/doc/fix-doc-and-types
typing_extensions.Protocol
for typingStreamHandler.__init__()
because really it should just be able to take any stream that writes strings.