From 0b1f44a3054bc5d2a31567054f6afe6d5438d996 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 1 Jun 2023 10:12:00 +0200 Subject: [PATCH] change format --- main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 16cb4d4..f3024cf 100644 --- a/main.py +++ b/main.py @@ -59,9 +59,8 @@ if __name__ == "__main__": if parsed_output: for error in parsed_output: print( - f"Avertissement dans {error.filename} " - f"à la ligne {error.line_number}, " - f"caractère {error.column_number} : {error.warning_message}" + f"[{error.warning_message}] Avertissement dans {error.filename} " + f"à la ligne {error.line_number}, caractère {error.column_number}." ) else: print(f"Aucun avertissement trouvé dans {file}.")