summaryrefslogtreecommitdiff
path: root/utils/raspberrypi
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 16:59:47 +0300
commit67f9605a7faef954dc3242450de0cf10ae215514 (patch)
tree374b858362e9d43bc65b50a7b5288f06e8ce3e0c /utils/raspberrypi
parentca73168e75b05b9ea8f0de9a13a1ea7083cdcbcc (diff)
utils: raspberrypi: ctt: Fix pycodestyle E123 and E126
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> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi')
-rwxr-xr-xutils/raspberrypi/ctt/ctt.py2
-rw-r--r--utils/raspberrypi/ctt/ctt_ccm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py
index 2c908e15..f92db328 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 21be4d6f..0a4eb57a 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