Skip to content

Conversation

@tcfranks
Copy link
Contributor

submitted for review/comment:

I went a little further here and added the kwargs to the docstring. Also, if rotation is triggered the action is raising questions in my mind compared to the spi devices I did prior:

    if "rotation" in kwargs and kwargs["rotation"] % 180 != 0:
        height = kwargs["width"]

This is just setting height = width. Shouldn't it also set width = height to make a complete rotation of 90 deg?

@tekktrik tekktrik linked an issue Aug 24, 2022 that may be closed by this pull request
1 task
@tekktrik tekktrik requested a review from a team August 24, 2022 23:17
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.

Feedback below:

@tcfranks
Copy link
Contributor Author

the most recent commit was to do the kwargs

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.

One final minor change

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 another good typing PR!

@tekktrik tekktrik merged commit 9859527 into adafruit:main Aug 27, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 27, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_GUVX_I2C to 1.0.2 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_GUVX_I2C#3 from sokratisvas/add-type-annotations

Updating https://github.com/adafruit/Adafruit_CircuitPython_INA219 to 3.4.20 from 3.4.19:
  > Merge pull request adafruit/Adafruit_CircuitPython_INA219#34 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_INA260 to 1.3.10 from 1.3.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_INA260#20 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SCD30 to 2.2.9 from 2.2.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_SCD30#32 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1327 to 1.3.9 from 1.3.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1327#16 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1675 to 1.1.15 from 1.1.14:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1675#13 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_SSD1680 to 1.0.12 from 1.0.11:
  > Merge pull request adafruit/Adafruit_CircuitPython_SSD1680#8 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.14.3 from 1.14.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#80 from tekktrik/bugfix/multiple-networks
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