change format

This commit is contained in:
Mylloon 2023-06-01 10:12:00 +02:00
parent 8ee54755c8
commit 0b1f44a305
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -59,9 +59,8 @@ if __name__ == "__main__":
if parsed_output: if parsed_output:
for error in parsed_output: for error in parsed_output:
print( print(
f"Avertissement dans {error.filename} " f"[{error.warning_message}] Avertissement dans {error.filename} "
f"à la ligne {error.line_number}, " f"à la ligne {error.line_number}, caractère {error.column_number}."
f"caractère {error.column_number} : {error.warning_message}"
) )
else: else:
print(f"Aucun avertissement trouvé dans {file}.") print(f"Aucun avertissement trouvé dans {file}.")