From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 880773858C66 for ; Fri, 23 Feb 2024 19:33:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 880773858C66 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 880773858C66 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708716800; cv=none; b=kyI48TRQsJCXsS7JoXnAxNuR66ubk/ScE9LBaq8yyhy1tVMskoLn8MlBRgmVUs1fRdII6OP2PcW9a8FqLraWNiYNyJJLPSqP76Huj7GZ77+UoiIiwfbbfkYCBQATKTmJEAbsJmyI7k5IFhtOsdplZ7yMqX/xb2gxqOHaUKGRLwg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1708716800; c=relaxed/simple; bh=/MhIbSUswI7TunhYiIl3v/xpyl4yHLv0R7TlfSkWDjw=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=k04g1/chZ+20v/0sGHs5sgSxwb6VSEd6Op/a0VkSqAanjcAOEO29yA1E0qGvuaKZRIanU644KlcEPRAwZC91bKhE6+Vc5no2VmKFjtzVnVpQeS/ubKR6d9wK1FOS5Kf2imm2QpB+UKDZtYhD/hXAYOdRaWaIFmFjn7E+DD1XTcw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1708716788; bh=/MhIbSUswI7TunhYiIl3v/xpyl4yHLv0R7TlfSkWDjw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=xI1+1xcYPoppF31KfGonRQ+BDsxqyQ5ZPH3R654GM2S6BhibbenmUIAY1ej+VCv9L zaOaFy9xJR66ImcevFFGGHie5fNspydV3Xk0fOU/qw8+t+9sI9M8IXQFbzJgZ75gyS BiPeZtklgj53x/ghMWVPHvUiwz1reewiHrXEp99s= Received: from [10.0.0.11] (modemcable238.237-201-24.mc.videotron.ca [24.201.237.238]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 8B14B1E030; Fri, 23 Feb 2024 14:33:08 -0500 (EST) Message-ID: <89af7e7a-f792-40a4-a6c2-89902ffc5380@simark.ca> Date: Fri, 23 Feb 2024 14:33:08 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Fix two minor flake8 issues To: Tom Tromey , gdb-patches@sourceware.org References: <20240223190145.3629627-1-tromey@adacore.com> Content-Language: en-US From: Simon Marchi In-Reply-To: <20240223190145.3629627-1-tromey@adacore.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2024-02-23 14:01, Tom Tromey wrote: > flake8 pointed out some extra whitespace around ':' in some Python > code. If we change these, black is going to immediately want to revert them. We need to tell flake8 to ignore these formatting warnings, since the formatting is all taken care of. See: https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#flake8 I propose to just add this in gdb/.flake8 or gdb/setup.cfg, as the page suggests: [flake8] max-line-length = 88 extend-ignore = E203,E701 Simon