From patchwork Tue Sep 3 16:10:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Klug X-Patchwork-Id: 21157 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 7F8FDC324C for ; Tue, 3 Sep 2024 16:11:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 89226634E5; Tue, 3 Sep 2024 18:11:07 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="hZS7PyWV"; dkim-atps=neutral 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 1EEA4634A6 for ; Tue, 3 Sep 2024 18:11:06 +0200 (CEST) Received: from ideasonboard.com (unknown [IPv6:2a00:6020:448c:6c00:6c8f:1e7a:f75:b6f6]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id F3B12169; Tue, 3 Sep 2024 18:09:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1725379794; bh=20X/lQEMzgG0dAXXya4uy1xXic7xEB/aMGmMDX1Zeag=; h=From:To:Cc:Subject:Date:From; b=hZS7PyWVUASirx2Bt79Yg1SqTFYCXbBT7m5ALblKJavXsenaCjUYlx1+sPkDDr5n+ bwa5SmLg4fxEaQlZ+gPY7uQDy2+6NZuDJqzVBQdUQki2u7bd6OU2Htl+IbihpTaqRg nq9xaXKNYysrgWMp3MlHfUqpQ0YgIxwCij7B/WeM= From: Stefan Klug To: libcamera-devel@lists.libcamera.org Cc: Stefan Klug Subject: [PATCH v2 0/2] Python improvements to checkstyle.py Date: Tue, 3 Sep 2024 18:10:53 +0200 Message-ID: <20240903161059.246075-1-stefan.klug@ideasonboard.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 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: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Hi all, This series used to improve the error reporting for python and add autoformatting. But after some discussions it got clear that the issues fixed by autopep8 are the same as the ones reported by pycodestyle. As the checker runs on the unformatted changes it would report exactly the same issues. So in the end this series just replaces the checker with the autopep8 formatter. Best regards, Stefan Stefan Klug (2): utils: checkstyle: Add a python formatter utils: checkstyle: Remove style checker for python pep8 utils/checkstyle.py | 48 ++++++++++++++------------------------------- 1 file changed, 15 insertions(+), 33 deletions(-)