mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 23:23:52 +01:00
tools: ratbagctl: make flake8 happy
tools/ratbagctl.in:146:92: E128 continuation line under-indented for visual indent tools/ratbagctl.in:147:92: E126 continuation line over-indented for hanging indent tools/ratbagctl.in:154:91: E128 continuation line under-indented for visual indent tools/ratbagctl.in:155:91: E126 continuation line over-indented for hanging indent tools/ratbagctl.in:161:118: E128 continuation line under-indented for visual indent tools/ratbagctl.in:162:118: E126 continuation line over-indented for hanging indent Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -143,29 +143,29 @@ def print_led(d, p, l, level):
|
||||
leds[l.mode]))
|
||||
elif l.mode == RatbagdLed.MODE_ON:
|
||||
print(" " * level + "LED: {} type: {}, depth: {}, mode: {}, color: {:02x}{:02x}{:02x}".format(l.index,
|
||||
types[l.type],
|
||||
depths[l.colordepth],
|
||||
leds[l.mode],
|
||||
l.color[0],
|
||||
l.color[1],
|
||||
l.color[2]))
|
||||
types[l.type],
|
||||
depths[l.colordepth],
|
||||
leds[l.mode],
|
||||
l.color[0],
|
||||
l.color[1],
|
||||
l.color[2]))
|
||||
elif l.mode == RatbagdLed.MODE_CYCLE:
|
||||
print(" " * level + "LED: {} type: {}, depth: {}, mode: {}, rate: {}, brightness: {}".format(l.index,
|
||||
types[l.type],
|
||||
depths[l.colordepth],
|
||||
leds[l.mode],
|
||||
l.effect_rate,
|
||||
l.brightness))
|
||||
types[l.type],
|
||||
depths[l.colordepth],
|
||||
leds[l.mode],
|
||||
l.effect_rate,
|
||||
l.brightness))
|
||||
elif l.mode == RatbagdLed.MODE_BREATHING:
|
||||
print(" " * level + "LED: {} type: {}, depth: {}, mode: {}, color: {:02x}{:02x}{:02x}, rate: {}, brightness: {}".format(l.index,
|
||||
types[l.type],
|
||||
depths[l.colordepth],
|
||||
leds[l.mode],
|
||||
l.color[0],
|
||||
l.color[1],
|
||||
l.color[2],
|
||||
l.effect_rate,
|
||||
l.brightness))
|
||||
types[l.type],
|
||||
depths[l.colordepth],
|
||||
leds[l.mode],
|
||||
l.color[0],
|
||||
l.color[1],
|
||||
l.color[2],
|
||||
l.effect_rate,
|
||||
l.brightness))
|
||||
|
||||
|
||||
def print_button(d, p, b, level):
|
||||
|
||||
Reference in New Issue
Block a user