qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] Use f-strings in python scripts


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2] Use f-strings in python scripts
Date: Wed, 15 Mar 2023 13:15:37 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 15/3/23 08:46, Philippe Mathieu-Daudé wrote:
On 14/3/23 22:24, Marco Liebel wrote:
Replace python 2 format string with f-strings

Signed-off-by: Marco Liebel <quic_mliebel@quicinc.com>
---
  target/hexagon/gen_analyze_funcs.py     | 115 ++++-----
  target/hexagon/gen_helper_funcs.py      |  54 ++--
  target/hexagon/gen_helper_protos.py     |  10 +-
  target/hexagon/gen_idef_parser_funcs.py |   8 +-
  target/hexagon/gen_op_attribs.py        |   4 +-
  target/hexagon/gen_op_regs.py           |  10 +-
  target/hexagon/gen_opcodes_def.py       |   2 +-
  target/hexagon/gen_printinsn.py         |  14 +-
  target/hexagon/gen_shortcode.py         |   2 +-
  target/hexagon/gen_tcg_func_table.py    |   2 +-
  target/hexagon/gen_tcg_funcs.py         | 317 +++++++++++-------------
  target/hexagon/hex_common.py            |   4 +-
  12 files changed, 243 insertions(+), 299 deletions(-)

Preferably unifying style using single quote (') first:

Scratch that preference (or replace by "preferably following
black format", per ZBGo8WNlnRZUGYJZ@redhat.com/">https://lore.kernel.org/qemu-devel/ZBGo8WNlnRZUGYJZ@redhat.com/).

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]