From patchwork Tue May 12 00:02:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3754 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 98EB7603DD for ; Tue, 12 May 2020 02:03:32 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="IKQd5lrv"; 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 E85FB33E; Tue, 12 May 2020 02:03:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1589241812; bh=K8UKbiLxkgv5SL13uc7V1Hj+3TghBlP+uY9YKAZgqYU=; h=From:To:Cc:Subject:Date:From; b=IKQd5lrvVMmNovTrrUbj1lN1CyC2h+YRxtL1ZDyiUQtvv0iK0uu7Ij0+kwxImND03 XlbFf2hX627J/Mi6oHGlhZ8uIvnREjQ5SxuCs2pgQTqZoB1iM6PWGWZ0pCkV10cMgA miIQ6RYr81jSuLZGG1uHpuM9HptSbK5UB1y6WFpY= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 12 May 2020 03:02:58 +0300 Message-Id: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 00/24] utils: raspberrypi: ctt: Comply with pycodestyle 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:32 -0000 Hello, This patch series fixes most of the coding style issues reported by pycodestyle in the ctt tool. I've left out two remaining issues as they could be more controversial: - Spaces around operators (E226 and 227) - Usage of docstrings for comments (flagged by E302) I can easily fix them if desired. Laurent Pinchart (24): utils: raspberrypi: ctt: Fix pycodestyle E231 utils: raspberrypi: ctt: Fix pycodestyle E201 and E202 utils: raspberrypi: ctt: Fix pycodestyle E203 utils: raspberrypi: ctt: Fix pycodestyle E241 utils: raspberrypi: ctt: Fix pycodestyle E211 utils: raspberrypi: ctt: Fix pycodestyle E251 utils: raspberrypi: ctt: Fix pycodestyle E128 utils: raspberrypi: ctt: Fix pycodestyle E225 utils: raspberrypi: ctt: Fix pycodestyle E228 utils: raspberrypi: ctt: Fix pycodestyle E701 utils: raspberrypi: ctt: Fix pycodestyle E303 utils: raspberrypi: ctt: Fix pycodestyle E261 and E262 utils: raspberrypi: ctt: Fix pycodestyle W605 utils: raspberrypi: ctt: Fix pycodestyle E222 utils: raspberrypi: ctt: Fix pycodestyle E711 and E712 utils: raspberrypi: ctt: Fix pycodestyle E123 and E126 utils: raspberrypi: ctt: Fix pycodestyle E116 and E117 utils: raspberrypi: ctt: Fix pycodestyle E713 utils: raspberrypi: ctt: Fix pycodestyle E721 utils: raspberrypi: ctt: Fix pycodestyle E722 utils: raspberrypi: ctt: Fix pycodestyle W504 utils: raspberrypi: ctt: Fix pycodestyle E741 utils: raspberrypi: ctt: Fix pycodestyle E305 utils: raspberrypi: ctt: Fix pycodestyle E302 utils/raspberrypi/ctt/ctt.py | 257 ++++++++-------- utils/raspberrypi/ctt/ctt_alsc.py | 146 ++++----- utils/raspberrypi/ctt/ctt_awb.py | 140 ++++----- utils/raspberrypi/ctt/ctt_ccm.py | 67 ++-- utils/raspberrypi/ctt/ctt_geq.py | 50 +-- utils/raspberrypi/ctt/ctt_image_load.py | 125 ++++---- utils/raspberrypi/ctt/ctt_lux.py | 19 +- utils/raspberrypi/ctt/ctt_macbeth_locator.py | 288 +++++++++--------- utils/raspberrypi/ctt/ctt_noise.py | 30 +- .../raspberrypi/ctt/ctt_pretty_print_json.py | 9 +- utils/raspberrypi/ctt/ctt_ransac.py | 56 ++-- utils/raspberrypi/ctt/ctt_tools.py | 64 ++-- 12 files changed, 641 insertions(+), 610 deletions(-) Reviewed-by: Kieran Bingham Reviewed-by: David Plowman