[libcamera-devel,14/24] utils: raspberrypi: ctt: Fix pycodestyle E222

Message ID 20200512000322.11753-15-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • utils: raspberrypi: ctt: Comply with pycodestyle
Related show

Commit Message

Laurent Pinchart May 12, 2020, 12:03 a.m. UTC
E222 multiple spaces after operator

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/raspberrypi/ctt/ctt.py     | 2 +-
 utils/raspberrypi/ctt/ctt_awb.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py
index 4d8d6addf415..f4cf37a03611 100755
--- a/utils/raspberrypi/ctt/ctt.py
+++ b/utils/raspberrypi/ctt/ctt.py
@@ -739,7 +739,7 @@  def run_ctt(json_output, directory, config, log_output):
     do_alsc_colour = get_config(alsc_d, "do_alsc_colour", 1, 'bool')
     luminance_strength = get_config(alsc_d, "luminance_strength", 0.5, 'num')
     blacklevel = get_config(configs, "blacklevel", -1, 'num')
-    macbeth_d =  get_config(configs, "macbeth", {}, 'dict')
+    macbeth_d = get_config(configs, "macbeth", {}, 'dict')
     mac_small = get_config(macbeth_d, "small", 0, 'bool')
     mac_show = get_config(macbeth_d, "show", 0, 'bool')
     mac_config = (mac_small, mac_show)
diff --git a/utils/raspberrypi/ctt/ctt_awb.py b/utils/raspberrypi/ctt/ctt_awb.py
index e97d833d0e49..9b30115f53f4 100644
--- a/utils/raspberrypi/ctt/ctt_awb.py
+++ b/utils/raspberrypi/ctt/ctt_awb.py
@@ -330,7 +330,7 @@  def get_alsc_patches(Img, colour_cals, grey=True):
         """
         this works because -0 = 0 = first and -1 = last index
         """
-        col_tabs =  np.array(colour_cals[cts[-pos//len(cts)]])
+        col_tabs = np.array(colour_cals[cts[-pos//len(cts)]])
         """
     else, perform linear interpolation between existing alsc colour
     calibration tables