Skip to content

Conversation

JulianOrteil
Copy link
Contributor

Addresses #18 and fixes various other existing type hint errors.

Of note, if it is desired, the setters for the DigitalInOut.direction and DigitalInOut.value properties could be removed to save space. Because the docstring already mentions these as being immutable, it would not be wrong to have Python raise an AttributeError natively IMO.

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 PR! Feedback below:

@tekktrik
Copy link
Member

Also, sorry for the merge conflict! Just merged a PR a little bit ago.

@JulianOrteil
Copy link
Contributor Author

Should be ready for final review!

@JulianOrteil JulianOrteil requested a review from tekktrik October 2, 2022 03:12
@JulianOrteil JulianOrteil requested a review from tekktrik October 2, 2022 19:42
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.

Looks good to me, thanks!

@tekktrik tekktrik merged commit 3d68487 into adafruit:main Oct 3, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Oct 3, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_74HC595 to 1.4.1 from 1.4.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_74HC595#26 from JulianOrteil/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_MCP4725 to 1.4.11 from 1.4.10:
  > Merge pull request adafruit/Adafruit_CircuitPython_MCP4725#22 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SGP40 to 1.3.9 from 1.3.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_SGP40#15 from patrickslarson8/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1681 to 1.0.14 from 1.0.13:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1681#10 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_TCA8418 to 1.0.4 from 1.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_TCA8418#9 from Neradoc/homepage-fix
@tekktrik tekktrik mentioned this pull request Jan 16, 2023
9 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.

2 participants