mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 12:33:40 +00:00
python: Manually convert more percent-formatting to f-strings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
3461db7ef5
commit
5dc9b55c43
@@ -200,7 +200,7 @@ def validate_indent_html(fn: str, fix: bool) -> int:
|
||||
# Since we successfully fixed the issues, we exit with status 0
|
||||
return 0
|
||||
print('Invalid Indentation detected in file: '
|
||||
'%s\nDiff for the file against expected indented file:' % (fn,), flush=True)
|
||||
f'{fn}\nDiff for the file against expected indented file:', flush=True)
|
||||
with subprocess.Popen(
|
||||
['diff', fn, '-'],
|
||||
stdin=subprocess.PIPE,
|
||||
|
||||
Reference in New Issue
Block a user