From 5c71f9552d3916ddeec319074156c95bfe47bfd6 Mon Sep 17 00:00:00 2001 From: Benjamin Tissoires Date: Mon, 9 Oct 2017 19:17:32 +0200 Subject: [PATCH] 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 --- tools/ratbagctl.in | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/tools/ratbagctl.in b/tools/ratbagctl.in index b171acba..c42d81a3 100755 --- a/tools/ratbagctl.in +++ b/tools/ratbagctl.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):