Fixed lint and pre-commit errors.

This commit is contained in:
skarnataki
2023-10-16 07:13:30 +00:00
committed by Lucas Abel
parent 651e44e0b6
commit 3ab64ce00d
3 changed files with 108 additions and 76 deletions
+3 -1
View File
@@ -139,7 +139,9 @@ class Mouse:
# ------------------------------------------------------------------------------
class ReportParser:
def parse_input_report(self, input_report: bytes) -> None: # type: ignore
@staticmethod
def parse_input_report(input_report: bytes) -> None:
report_id = input_report[0] # pylint: disable=unsubscriptable-object
report_length = len(input_report)