Skip to content
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

type annotation #16

Merged
merged 2 commits into from
Jun 5, 2023
Merged

Conversation

gtbcoding
Copy link
Contributor

add type annotation and try/catch import error

ref issue #13

@tekktrik
Copy link
Member

Looks like this is failing the CI. You can fix the formatting issues and find the linting problems using pre-commit. You can find information on installing and use pre-commit here: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code

Let me know if you need help understanding the pylint errors it shows!

@tekktrik
Copy link
Member

I can take a look once that's done :)

@tekktrik tekktrik self-requested a review April 27, 2023 20:24
@tekktrik tekktrik linked an issue Apr 27, 2023 that may be closed by this pull request
1 task
Copy link
Contributor

@FoamyGuy FoamyGuy left a comment

Choose a reason for hiding this comment

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

I added a commit that resolves the pylint and formatting issues.

The latest version looks good to me.

Thanks for the contribution @gtbcoding

@FoamyGuy FoamyGuy merged commit 7b5a196 into adafruit:main Jun 5, 2023
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jun 6, 2023
Updating https://github.com/adafruit/Adafruit_CircuitPython_BME680 to 3.5.0 from 3.4.13:
  > Merge pull request adafruit/Adafruit_CircuitPython_BME680#61 from garberw/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_Crickit to 2.3.15 from 2.3.14:
  > Merge pull request adafruit/Adafruit_CircuitPython_Crickit#37 from OptionalLion411/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_MatrixKeypad to 1.2.14 from 1.2.13:
  > Merge pull request adafruit/Adafruit_CircuitPython_MatrixKeypad#16 from gtbcoding/isssue/13-type-annotation

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
3 participants