[libcamera-devel,16/24] utils: raspberrypi: ctt: Fix pycodestyle E123 and E126

Message ID 20200512000322.11753-17-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
E123 closing bracket does not match indentation of opening bracket's line
E126 continuation line over-indented for hanging indent

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/raspberrypi/ctt/ctt.py     | 2 +-
 utils/raspberrypi/ctt/ctt_ccm.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 6a17e7898730..3ebd10711d94 100755
--- a/utils/raspberrypi/ctt/ctt.py
+++ b/utils/raspberrypi/ctt/ctt.py
@@ -87,7 +87,7 @@  class Camera:
                 "reference_shutter_speed": 10000,
                 "reference_gain": 1,
                 "reference_aperture": 1.0
-                },
+            },
             "rpi.noise": {
             },
             "rpi.geq": {
diff --git a/utils/raspberrypi/ctt/ctt_ccm.py b/utils/raspberrypi/ctt/ctt_ccm.py
index 21be4d6fb1b1..0a4eb57a8cdf 100644
--- a/utils/raspberrypi/ctt/ctt_ccm.py
+++ b/utils/raspberrypi/ctt/ctt_ccm.py
@@ -49,7 +49,7 @@  def ccm(Cam, cal_cr_list, cal_cb_list):
         [121, 121, 122],  # neutral 5
         [82, 84, 86],     # neutral 3.5
         [49, 49, 51]      # black 2
-                  ])
+    ])
 
     """
     convert reference colours from srgb to rgb