Skip to content

type_annotations #20

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 5 commits into from
Jan 28, 2023
Merged

type_annotations #20

merged 5 commits into from
Jan 28, 2023

Conversation

jposada202020
Copy link
Contributor

@jposada202020 jposada202020 commented Jan 24, 2023

Hello, Type Annotations for this library.

I have tried to use

from circuitpython_typing import WriteableBuffer
from circuitpython_typing.device_drivers import I2CDeviceDriver

However when I tried to build the documentation locally it raises an error. so I used I2CDevice and bytearray instead.

Thanks :)

@jposada202020 jposada202020 requested a review from a team January 24, 2023 23:42
@tekktrik tekktrik linked an issue Jan 25, 2023 that may be closed by this pull request
6 tasks
Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! A couple of feedback points, but this is awesome!

@jposada202020
Copy link
Contributor Author

Included suggestions. Thanks for reviewing. :)

Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick update, sorry for the unclear explanation!

@jposada202020
Copy link
Contributor Author

No worries :) thanks for reviewing my quality control is called brute-force patiently ;) so I appreciate the feedback. ill push another commit as the CI failed. Thanks

@jposada202020
Copy link
Contributor Author

Sorry for the delay a little bit of GIT fun :)

Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, nice work!

@tekktrik tekktrik merged commit 2638333 into adafruit:main Jan 28, 2023
@jposada202020 jposada202020 deleted the type_annotations branch January 28, 2023 02:38
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jan 28, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM303DLH_Mag to 1.1.18 from 1.1.17:
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM303DLH_Mag#20 from jposada202020/type_annotations

Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS1 to 2.1.19 from 2.1.18:
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM9DS1#36 from tcfranks/main
  > Add upload url to release action
  > Add .venv to .gitignore

Updating https://github.com/adafruit/Adafruit_CircuitPython_PCF8591 to 1.0.14 from 1.0.13:
  > Merge pull request adafruit/Adafruit_CircuitPython_PCF8591#8 from tcfranks/main
  > Add upload url to release action
  > Add .venv to .gitignore

Updating https://github.com/adafruit/Adafruit_CircuitPython_LED_Animation to 2.6.6 from 2.6.4:
  > Merge pull request adafruit/Adafruit_CircuitPython_LED_Animation#110 from tlyu/comet-doc

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing Type Annotations
2 participants