From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id eE2ZCt0vjGAIagAAWB0awg (envelope-from ) for ; Fri, 30 Apr 2021 12:27:09 -0400 Received: by simark.ca (Postfix, from userid 112) id 29A3B1F11C; Fri, 30 Apr 2021 12:27:09 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id A24F41E813 for ; Fri, 30 Apr 2021 12:27:08 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 42209385802B; Fri, 30 Apr 2021 16:27:08 +0000 (GMT) Received: from rock.gnat.com (rock.gnat.com [205.232.38.15]) by sourceware.org (Postfix) with ESMTP id C229A385802B for ; Fri, 30 Apr 2021 16:27:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C229A385802B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A25E4562D4; Fri, 30 Apr 2021 12:27:06 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id m0KMOQoERp9j; Fri, 30 Apr 2021 12:27:06 -0400 (EDT) Received: from float.home (localhost.localdomain [127.0.0.1]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by rock.gnat.com (Postfix) with ESMTPS id 2B5D6562D3; Fri, 30 Apr 2021 12:27:06 -0400 (EDT) Received: by float.home (Postfix, from userid 1000) id 43AF5A123E; Fri, 30 Apr 2021 20:26:16 +0400 (+04) Date: Fri, 30 Apr 2021 20:26:16 +0400 From: Joel Brobecker To: Tom Tromey Subject: Re: Proposal: format GDB Python files with black Message-ID: <20210430162616.GA10418@adacore.com> References: <871raxvtb2.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871raxvtb2.fsf@tromey.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Marchi via Gdb-patches Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > Simon> A few people I talked to about this and I have good experience with the > Simon> tool black to auto-format Python code. > > Yeah, +1 from me. We use it internally here and it has been fine. And, > it eliminates an entire review step, which is good. Same for me. And I also recomment the "pre-commit" python program to manage the pre-commit hooks. Both Tom and I should be able to help with that, if you like. -- Joel