u_boot_pylib: Clean up pylint warnings in gitutil.py
authorSimon Glass <sjg@chromium.org>
Sun, 16 Mar 2025 08:00:18 +0000 (08:00 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 1 Apr 2025 14:46:41 +0000 (08:46 -0600)
commit3703298e57c8d749b3c06798f5873562754fb84c
tree3de0313b24923a37990383780bbf2655ed7271b8
parent9b4b86f90c3a0484d4ecdcdb9977c385363ce5f8
u_boot_pylib: Clean up pylint warnings in gitutil.py

This file has about 40 pylint warnings, but no errors.

Quite a few of these warnings have been there for a while, but most are
coming from newer versions of pylint, where people come up with new
warnings.

The f-string warning is the most common one:

   C0209: Formatting a regular string which could be an f-string

That feature was not available when the code was written, but it is
often more convenient than using % with a list of arguments.

This patches reduces the number of warnings in this file, with 7 left
remaining.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/func_test.py
tools/u_boot_pylib/gitutil.py