Skip to content

Commit

Permalink
fix(waveshare): move comment out of docstring into comment
Browse files Browse the repository at this point in the history
  • Loading branch information
loiccoyle committed Jun 9, 2024
1 parent fe8d2b5 commit 7d72f68
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tinyticker/waveshare_lib/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ def __init__(self, device: Type[RaspberryPi] = RaspberryPi) -> None: ...

@property
def size(self) -> Tuple[int, int]:
"""The width and height of the display in landscape orientation.
The width/height from the waveshare library are not consistent, so we wrap it in a property.
"""
"""The width and height of the display in landscape orientation."""
# The width/height from the waveshare library are not consistent, so we wrap it in a property.
return (
(self.width, self.height)
if self.width > self.height
Expand Down

0 comments on commit 7d72f68

Please sign in to comment.