{"id":21157,"url":"https://patchwork.libcamera.org/api/1.1/covers/21157/?format=json","web_url":"https://patchwork.libcamera.org/cover/21157/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20240903161059.246075-1-stefan.klug@ideasonboard.com>","date":"2024-09-03T16:10:53","name":"[v2,0/2] Python improvements to checkstyle.py","submitter":{"id":184,"url":"https://patchwork.libcamera.org/api/1.1/people/184/?format=json","name":"Stefan Klug","email":"stefan.klug@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/21157/mbox/","series":[{"id":4560,"url":"https://patchwork.libcamera.org/api/1.1/series/4560/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4560","date":"2024-09-03T16:10:53","name":"Python improvements to checkstyle.py","version":2,"mbox":"https://patchwork.libcamera.org/series/4560/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/21157/comments/","headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 7F8FDC324C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  3 Sep 2024 16:11:08 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 89226634E5;\n\tTue,  3 Sep 2024 18:11:07 +0200 (CEST)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1EEA4634A6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  3 Sep 2024 18:11:06 +0200 (CEST)","from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:6c8f:1e7a:f75:b6f6])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id F3B12169;\n\tTue,  3 Sep 2024 18:09:53 +0200 (CEST)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"hZS7PyWV\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1725379794;\n\tbh=20X/lQEMzgG0dAXXya4uy1xXic7xEB/aMGmMDX1Zeag=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=hZS7PyWVUASirx2Bt79Yg1SqTFYCXbBT7m5ALblKJavXsenaCjUYlx1+sPkDDr5n+\n\tbwa5SmLg4fxEaQlZ+gPY7uQDy2+6NZuDJqzVBQdUQki2u7bd6OU2Htl+IbihpTaqRg\n\tnq9xaXKNYysrgWMp3MlHfUqpQ0YgIxwCij7B/WeM=","From":"Stefan Klug <stefan.klug@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Stefan Klug <stefan.klug@ideasonboard.com>","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","Content-Transfer-Encoding":"8bit","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Hi all,\n\nThis series used to improve the error reporting for python and add\nautoformatting. But after some discussions it got clear that the issues\nfixed by autopep8 are the same as the ones reported by pycodestyle. As\nthe checker runs on the unformatted changes it would report exactly the\nsame issues. So in the end this series just replaces the checker with\nthe autopep8 formatter.\n\nBest regards,\nStefan\n\nStefan Klug (2):\n  utils: checkstyle: Add a python formatter\n  utils: checkstyle: Remove style checker for python pep8\n\n utils/checkstyle.py | 48 ++++++++++++++-------------------------------\n 1 file changed, 15 insertions(+), 33 deletions(-)"}