Re: [PATCH v6] coccinelle: misc: Add field_modify script
From: Markus Elfring
Date: Thu Jun 26 2025 - 03:43:54 EST
> +coccilib.report.print_report(p[0], "WARNING: Consider using FIELD_MODIFY helper on %s" % (x))
Would you find it a bit nicer to use also another formatted string literal
as a function call parameter?
(The recent code adjustment indicated something for the operation mode “org”.)
https://docs.python.org/3/reference/lexical_analysis.html#f-strings
Regards,
Markus