Skip to content

Commit 0b6bf26

Browse files
committed
File reformatting per pre-commit
1 parent 7c05ab3 commit 0b6bf26

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

adafruit_fingerprint.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ def get_fpdata(self, sensorbuffer: str = "char", slot: int = 1) -> List[int]:
226226
self._print_debug("get_fdata res:", res, data_type="hex")
227227
return res
228228

229-
def send_fpdata(self, data: List[int], sensorbuffer: str = "char", slot: int = 1) -> bool:
229+
def send_fpdata(
230+
self, data: List[int], sensorbuffer: str = "char", slot: int = 1
231+
) -> bool:
230232
"""Requests the sensor to receive data, either a fingerprint image or
231233
a character/template data. Data is the payload only."""
232234
if slot not in (1, 2):
@@ -322,7 +324,9 @@ def compare_templates(self) -> int:
322324
self._print_debug("compare_templates confidence:", self.confidence)
323325
return r[0]
324326

325-
def set_led(self, color: int = 1, mode: int = 3, speed: int = 0x80, cycles: int = 0) -> int:
327+
def set_led(
328+
self, color: int = 1, mode: int = 3, speed: int = 0x80, cycles: int = 0
329+
) -> int:
326330
"""LED function -- only for R503 Sensor.
327331
Parameters: See User Manual for full details
328332
color: 1=red, 2=blue, 3=purple

0 commit comments

Comments
 (0)