mbox series

[0/6] moveconfig: Improve the pylist score a little

Message ID 20211218215435.1159723-1-sjg@chromium.org
Headers show
Series moveconfig: Improve the pylist score a little | expand

Message

Simon Glass Dec. 18, 2021, 9:54 p.m. UTC
There are about 240 warnings in this file.

This series refactors file reading and writing, which fixes about 40. It
also includes a patch to make a start on the rest, reducing the count to
about 160.

It also tidies up quoting.

There are still about 160 warnings left.


Simon Glass (6):
  moveconfig: Use single quotes
  moveconfig: Convert to ArgumentParser
  moveconfig: Drop check for old Python
  moveconfig: Use a function to write files
  moveconfig: Use a function to read files
  moveconfig: Fix some pylint errors

 tools/moveconfig.py | 645 +++++++++++++++++++++++---------------------
 1 file changed, 336 insertions(+), 309 deletions(-)