reformat with latest settings
Reformat with the latest settings from openbmc-build-scripts code
formatter.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If1a2f0afa88f7354f68989b43593efec77d0a1d6
diff --git a/scripts/led-set-all-groups-asserted.sh b/scripts/led-set-all-groups-asserted.sh
index 4e8bf91..d67f9b0 100755
--- a/scripts/led-set-all-groups-asserted.sh
+++ b/scripts/led-set-all-groups-asserted.sh
@@ -36,17 +36,17 @@
for arg in "$@"
do
- if [ "$arg" == "$action" ]
- then
- # Must be true/false
- continue
- elif [ $index -eq $# ]
- then
- excluded_groups="${excluded_groups}$arg"
- else
- excluded_groups="${excluded_groups}$arg|"
- fi
- ((index+=1))
+ if [ "$arg" == "$action" ]
+ then
+ # Must be true/false
+ continue
+ elif [ $index -eq $# ]
+ then
+ excluded_groups="${excluded_groups}$arg"
+ else
+ excluded_groups="${excluded_groups}$arg|"
+ fi
+ ((index+=1))
done
# Now, set the LED group to what has been requested
diff --git a/scripts/parse_led.py b/scripts/parse_led.py
index 63cb4e5..2dacc0e 100755
--- a/scripts/parse_led.py
+++ b/scripts/parse_led.py
@@ -1,7 +1,8 @@
#!/usr/bin/env python3
-import yaml
-import os
import argparse
+import os
+
+import yaml
from inflection import underscore
if __name__ == "__main__":