[PATCH 00/17] patman: Convert camel case
Simon Glass
sjg at chromium.org
Sat Jan 29 22:14:03 CET 2022
Much of the Python code in U-Boot was written using the Chromium OS Python
style.
This series converts the patman class methods and functions from
camel case to snake case. This fits with PEP8 and is one step along the
way to making the code more compliant with that.
Simon Glass (17):
patman: Convert camel case in tools.py
patman: Convert camel case in command.py
patman: Convert camel case in checkpatch.py
patman: Convert camel case in commit.py
patman: Convert camel case in cros_subprocess.py
patman: Convert camel case in func_test.py
patman: Convert camel case in get_maintainer.py
patman: Convert camel case in gitutil.py
patman: Convert camel case in project.py
patman: Convert camel case in test_checkpatch.py
patman: Convert camel case in test_util.py
patman: Convert camel case in tout.py
patman: Rename Print() to Tprint()
patman: Rename Color() method to build()
patman: Convert camel case in terminal.py
patman: Update with new pylint scores
RFC: tools: Add a camel-case conversion script
scripts/pylint.base | 26 +-
scripts/style.py | 180 +++++++++++
tools/binman/bintool.py | 30 +-
tools/binman/bintool_test.py | 34 +-
tools/binman/btool/lz4.py | 8 +-
tools/binman/btool/lzma_alone.py | 16 +-
tools/binman/cbfs_util.py | 12 +-
tools/binman/cbfs_util_test.py | 20 +-
tools/binman/control.py | 74 ++---
tools/binman/elf.py | 20 +-
tools/binman/elf_test.py | 20 +-
tools/binman/entry.py | 42 +--
tools/binman/entry_test.py | 4 +-
tools/binman/etype/atf_fip.py | 2 +-
tools/binman/etype/blob.py | 4 +-
tools/binman/etype/blob_ext_list.py | 2 +-
tools/binman/etype/fdtmap.py | 2 +-
tools/binman/etype/files.py | 2 +-
tools/binman/etype/fill.py | 2 +-
tools/binman/etype/fit.py | 20 +-
tools/binman/etype/fmap.py | 6 +-
tools/binman/etype/gbb.py | 10 +-
tools/binman/etype/intel_ifwi.py | 12 +-
tools/binman/etype/mkimage.py | 8 +-
tools/binman/etype/section.py | 26 +-
tools/binman/etype/text.py | 4 +-
tools/binman/etype/u_boot_elf.py | 6 +-
tools/binman/etype/u_boot_env.py | 4 +-
tools/binman/etype/u_boot_spl_bss_pad.py | 4 +-
tools/binman/etype/u_boot_spl_expanded.py | 2 +-
tools/binman/etype/u_boot_tpl_bss_pad.py | 4 +-
tools/binman/etype/u_boot_tpl_expanded.py | 2 +-
tools/binman/etype/u_boot_ucode.py | 4 +-
tools/binman/etype/u_boot_with_ucode_ptr.py | 2 +-
tools/binman/etype/vblock.py | 10 +-
tools/binman/fdt_test.py | 4 +-
tools/binman/fip_util.py | 16 +-
tools/binman/fip_util_test.py | 36 +--
tools/binman/fmap_util.py | 2 +-
tools/binman/ftest.py | 324 ++++++++++----------
tools/binman/image.py | 16 +-
tools/binman/main.py | 6 +-
tools/binman/state.py | 34 +-
tools/buildman/builder.py | 108 +++----
tools/buildman/builderthread.py | 12 +-
tools/buildman/control.py | 46 +--
tools/buildman/func_test.py | 20 +-
tools/buildman/test.py | 30 +-
tools/buildman/toolchain.py | 26 +-
tools/dtoc/fdt.py | 4 +-
tools/dtoc/fdt_util.py | 12 +-
tools/dtoc/main.py | 6 +-
tools/dtoc/test_dtoc.py | 76 ++---
tools/dtoc/test_fdt.py | 34 +-
tools/dtoc/test_src_scan.py | 12 +-
tools/patman/checkpatch.py | 36 +--
tools/patman/command.py | 30 +-
tools/patman/commit.py | 10 +-
tools/patman/control.py | 20 +-
tools/patman/cros_subprocess.py | 59 ++--
tools/patman/func_test.py | 74 ++---
tools/patman/get_maintainer.py | 8 +-
tools/patman/gitutil.py | 176 +++++------
tools/patman/main.py | 8 +-
tools/patman/patchstream.py | 12 +-
tools/patman/project.py | 4 +-
tools/patman/series.py | 32 +-
tools/patman/settings.py | 4 +-
tools/patman/status.py | 22 +-
tools/patman/terminal.py | 56 ++--
tools/patman/test_checkpatch.py | 80 ++---
tools/patman/test_util.py | 8 +-
tools/patman/tools.py | 86 +++---
tools/patman/tout.py | 58 ++--
tools/rmboard.py | 16 +-
75 files changed, 1214 insertions(+), 1033 deletions(-)
create mode 100755 scripts/style.py
--
2.35.0.rc2.247.g8bbb082509-goog
More information about the U-Boot
mailing list