Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4F7D1E50E for ; Thu, 31 Jul 2025 12:57:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753966635; cv=none; b=p1TmLWFfoNYRlBx+0FltHZ2XOZTXMlfHss6JmwEbvXKuyomBPhM7ydvOXyZbgDxrNB2d6IQVZsf8eBsIm7JYRFO2g2vNhwr8YjT9ntsLkOS41eD8OWL34vZSqpOmj+HQvXLTKXwGRZ0W2Qlm5b59Xt0L0sMNIxvdJF23CrmmJu0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753966635; c=relaxed/simple; bh=mV6mRsm1yrDWQ7tpDvxep08j18Qu1LtdXOQPkTVFVtw=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=faINa9pLdqSd8EAUhimixvyDR7oh9FWsOuMvrE0VK3iEh7/Hp8OdDzb6/bqfQKAR9QbH/Itxa/tQxLeEMatSQrocRX0XKHgv1eJGFK3QnsdrgSKug24BcG28EltAdos9KNTkn2nDcSB3kbQAYeFBBF9ZbortTpprkAu4CXkay7c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=pAUtSZMZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pAUtSZMZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F188C4CEEF; Thu, 31 Jul 2025 12:57:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1753966635; bh=mV6mRsm1yrDWQ7tpDvxep08j18Qu1LtdXOQPkTVFVtw=; h=Date:Reply-To:Subject:To:References:From:In-Reply-To:From; b=pAUtSZMZxjWenXDmg7auAUC6wVb+fbFJkrT8es3RGU96JW/9MMx3O2sHEcRai7wQJ BKRWGL+pPPJwKLxaYQrdfG/cszcIZNn/CYAhHfwgn+eZEvtbZu8gcTNNJj0/nFzKDa PFOpNC9VNfHmDy+UjPDuGcohIm0/RV7n2K188B1jaVeMOEoxCJKZN788IhJYt6O0wm yoG7hcemkqmqHPhGT86oMzNi9yyO+dIfSHi+GcLtu9Ml3BNJFeuvVgLJeNA4M0Nee6 7V14f/XCJbZGP4RG+8Bg1pPZLOSw0eKGLcecU7H5Ffm3YpkM/OsOP9hysOoiWqMoaK j6ZrE0+JfukOw== Message-ID: Date: Thu, 31 Jul 2025 14:57:12 +0200 Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: Daniel Gomez Subject: Re: [PATCH v2 7/9] all: run black To: Luis Chamberlain , Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev References: <20250730060147.182140-1-mcgrof@kernel.org> <20250730060147.182140-8-mcgrof@kernel.org> Content-Language: en-US From: Daniel Gomez Organization: kernel.org In-Reply-To: <20250730060147.182140-8-mcgrof@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 30/07/2025 08.01, Luis Chamberlain wrote: > Run black to fix tons of styling issues with tons of Python scripts. > In order to help bots ensure they don't add odd styling we need a > convention. > > Signed-off-by: Luis Chamberlain Acked-by: Daniel Gomez FYI, I'm working on b4 check stuff mentioned in the other thread. I think this is really nice but it would be awesome to also extend it to Ansible files using the Ansible linter: ansible-lint --help {...} --fix [WRITE_LIST] Allow ansible-lint to perform auto-fixes, including YAML reformatting So, these changes with black/ansible-lint, etc make sense if: 1. Add b4 integration 2. Make CI run the scripts as well (make style, make check, etc) But I suspect a minimal testing may be needed. Thoughts?