[PATCH v3 0/2] Use f-strings and black code style

Marco Liebel posted 2 patches 1 year, 1 month ago
target/hexagon/dectree.py               | 396 +++++++------
target/hexagon/gen_analyze_funcs.py     | 226 ++++----
target/hexagon/gen_helper_funcs.py      | 364 ++++++------
target/hexagon/gen_helper_protos.py     | 169 +++---
target/hexagon/gen_idef_parser_funcs.py |  83 +--
target/hexagon/gen_op_attribs.py        |  10 +-
target/hexagon/gen_op_regs.py           |  77 +--
target/hexagon/gen_opcodes_def.py       |   6 +-
target/hexagon/gen_printinsn.py         |  82 +--
target/hexagon/gen_shortcode.py         |  17 +-
target/hexagon/gen_tcg_func_table.py    |  16 +-
target/hexagon/gen_tcg_funcs.py         | 729 +++++++++++++-----------
target/hexagon/hex_common.py            | 181 +++---
13 files changed, 1290 insertions(+), 1066 deletions(-)
[PATCH v3 0/2] Use f-strings and black code style
Posted by Marco Liebel 1 year, 1 month ago
Replaces python 2 format strings with f-strings and applies black code
style to all python files in target/hexagon.

Marco Liebel (2):
  Use f-strings in python scripts
  Use black code style for python scripts

 target/hexagon/dectree.py               | 396 +++++++------
 target/hexagon/gen_analyze_funcs.py     | 226 ++++----
 target/hexagon/gen_helper_funcs.py      | 364 ++++++------
 target/hexagon/gen_helper_protos.py     | 169 +++---
 target/hexagon/gen_idef_parser_funcs.py |  83 +--
 target/hexagon/gen_op_attribs.py        |  10 +-
 target/hexagon/gen_op_regs.py           |  77 +--
 target/hexagon/gen_opcodes_def.py       |   6 +-
 target/hexagon/gen_printinsn.py         |  82 +--
 target/hexagon/gen_shortcode.py         |  17 +-
 target/hexagon/gen_tcg_func_table.py    |  16 +-
 target/hexagon/gen_tcg_funcs.py         | 729 +++++++++++++-----------
 target/hexagon/hex_common.py            | 181 +++---
 13 files changed, 1290 insertions(+), 1066 deletions(-)

-- 
2.25.1