change format
This commit is contained in:
parent
8ee54755c8
commit
0b1f44a305
1 changed files with 2 additions and 3 deletions
5
main.py
5
main.py
|
@ -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}.")
|
||||||
|
|
Reference in a new issue