[libcamera-devel] [PATCH 16/24] utils: raspberrypi: ctt: Fix pycodestyle E123 and E126
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue May 12 02:03:14 CEST 2020
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 at ideasonboard.com>
---
utils/raspberrypi/ctt/ctt.py | 2 +-
utils/raspberrypi/ctt/ctt_ccm.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list