Skip to content

Commit

Permalink
Lint III
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage authored Nov 7, 2024
1 parent e1d1b61 commit de212c9
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions kmk/scanners/keypad.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def __init__(
if i is None:
args.pop(i)
kwargs = {
"columns_to_anodes": columns_to_anodes,
"interval": interval,
"debounce_threshold": debounce_threshold,
"max_events": max_events,
'columns_to_anodes': columns_to_anodes,
'interval': interval,
'debounce_threshold': debounce_threshold,
'max_events': max_events,
}
for key, value in kwargs.items():
if value is None:
Expand Down Expand Up @@ -90,11 +90,11 @@ def __init__(
if i is None:
args.pop(i)
kwargs = {
"value_when_pressed": value_when_pressed,
"pull": pull,
"interval": interval,
"debounce_threshold": debounce_threshold,
"max_events": max_events,
'value_when_pressed': value_when_pressed,
'pull': pull,
'interval': interval,
'debounce_threshold': debounce_threshold,
'max_events': max_events,
}
for key, value in kwargs.items():
if value is None:
Expand Down Expand Up @@ -127,11 +127,11 @@ def __init__(
if i is None:
args.pop(i)
kwargs = {
"value_to_latch": value_to_latch,
"value_when_pressed": value_when_pressed,
"interval": interval,
"debounce_threshold": debounce_threshold,
"max_events": max_events,
'value_to_latch': value_to_latch,
'value_when_pressed': value_when_pressed,
'interval': interval,
'debounce_threshold': debounce_threshold,
'max_events': max_events,
}
for key, value in kwargs.items():
if value is None:
Expand Down

0 comments on commit de212c9

Please sign in to comment.