Skip to content

Conversation

@billvanleeuwen424
Copy link
Contributor

Added types for returns and inputs to all of the functions mentioned in the issue.

imported 2 types (SPI and Digital InOut from busio, and digitalio respectively), and imported Optional from typing.

1-5, lines 210-272
added return values
imported SPI and DigitalInOut to use the types for __init__ on BMP_SPI.
imported 'optional' from typing for the same function.
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 for the pull request! I added some feedback, let me know if there's anything I can do to clarify or help!

@billvanleeuwen424
Copy link
Contributor Author

Thanks for the comments and tips! I appreciate the very helpful review. I'll resolve these in a jiffy

@billvanleeuwen424
Copy link
Contributor Author

@tekktrik changed as per suggestions, and added return types for all functions in this file. Thanks again for the helpful comments! this is my first time contributing so I'm happy to help out!

@FoamyGuy
Copy link
Contributor

Thanks for making these changes and contributing the typing info @billvanleeuwen424!

I've got this one on my list to take a look over later on today as well.

Congratz on your first contribution and thanks again for helping us out! 🎉

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 have a few more requested changes. But it's looking good to me beyond these. Thanks again @billvanleeuwen424

@billvanleeuwen424
Copy link
Contributor Author

Ah my bad on those! Thanks for the catch

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.

Looks good to me.

Thanks again @billvanleeuwen424 🎉

@FoamyGuy FoamyGuy merged commit 4eb9517 into adafruit:main Apr 13, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Apr 13, 2022
@tekktrik tekktrik mentioned this pull request Aug 23, 2022
15 tasks
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.

3 participants