From patchwork Tue May 12 00:03:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3770 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2272760E18 for ; Tue, 12 May 2020 02:03:43 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="qURBMGEI"; dkim-atps=neutral Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D7E32120C; Tue, 12 May 2020 02:03:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1589241822; bh=FNJG7m0U5/m8bg0Nw05fEmF9VdytDtpZS+X84tJ1zRI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qURBMGEI6vmqOPmoQzeA4l/A4Lsb4/Z9yDcnjkqtfrXdpVzyG0rYStcy/lXwI73fo n6F1oJOhsmvpz83S4sKwHhdJstON/kn/BkV2dAHZ3BfRKAk5ro3RMwgsN/9fq1zeSK 46pSm/AUCprHEYFQKYkMqjfvUgdyM9JXSFplk/bc= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 12 May 2020 03:03:14 +0300 Message-Id: <20200512000322.11753-17-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> References: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 16/24] utils: raspberrypi: ctt: Fix pycodestyle E123 and E126 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 00:03:43 -0000 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 --- 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