Skip to content

Commit 3f62811

Browse files
committed
resolves #13 Missing Type Annotations
1 parent eaba4b0 commit 3f62811

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

adafruit_ssd1327.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,22 @@
5151
b"\xAF\x00" # DISPLAY_ON
5252
)
5353

54+
5455
# pylint: disable=too-few-public-methods
5556
class SSD1327(displayio.Display):
5657
"""SSD1327 driver
5758
58-
:param int height: height in pixels
59-
:param int width: width in pixels
60-
:param int rotation: rotation in degrees 0 < rotation < 180 results in 90 degree rotation
59+
:param ~displayio.I2CDisplay bus: I2C bus
60+
:param \**kwargs:
61+
See below
62+
63+
:Keyword Arguments:
64+
* *width* (``int``) --
65+
Display width
66+
* *height* (``int``) --
67+
Display height
68+
* *rotation* (``int``) --
69+
Display rotation
6170
"""
6271

6372
def __init__(self, bus: displayio.I2CDisplay, **kwargs) -> None:

0 commit comments

Comments
 (0)