Skip to content

Commit c43fe01

Browse files
committed
Correct Missing Type Annotations
1 parent 3c8331e commit c43fe01

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adafruit_aw9523.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021 ladyada for Adafruit
2-
# SPDX-FileCopyrightText: Copyright (c) 2021 ladyada for Adafruit
32
#
43
# SPDX-License-Identifier: MIT
54
"""
@@ -147,7 +146,7 @@ def directions(self) -> int:
147146
return ~self._directions & 0xFFFF
148147

149148
@directions.setter
150-
def directions(self, dirs) -> None:
149+
def directions(self, dirs: int) -> None:
151150
self._directions = (~dirs) & 0xFFFF
152151

153152
@property
@@ -156,7 +155,7 @@ def LED_modes(self) -> int:
156155
return ~self._LED_modes & 0xFFFF
157156

158157
@LED_modes.setter
159-
def LED_modes(self, modes) -> None:
158+
def LED_modes(self, modes: int) -> None:
160159
self._LED_modes = ~modes & 0xFFFF
161160

162161

0 commit comments

Comments
 (0)