Skip to content

Commit b4c973d

Browse files
committed
Add type hints
1 parent 159ffd8 commit b4c973d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_radial_controller/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import usb_hid
2121

2222

23-
def device(report_id):
23+
def device(report_id: int) -> usb_hid.Device:
2424
"""Create a `usb_hid.Device` for a radial controller.
2525
2626
:param int report_id: The report ID to use for the device.

0 commit comments

Comments
 (0)