From ae9390add3350f186978729108ee70a72d074093 Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sun, 20 Aug 2023 12:04:34 +0200 Subject: [PATCH] Change comment position --- Tools/check_format_qml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/check_format_qml.py b/Tools/check_format_qml.py index b8443e35..f824c114 100644 --- a/Tools/check_format_qml.py +++ b/Tools/check_format_qml.py @@ -14,7 +14,6 @@ import shutil stdout.reconfigure(encoding='utf-8') -# Instead of comparing the direct outputs (which was leading to ambiguous results), this function uses a workaround that checks the file's MD5 hash before and after formatting. def format_qml_file(file): executable = "qmlformat" if os.name == 'nt': @@ -34,6 +33,8 @@ def compute_md5(file_path): return hashlib.md5(f.read()).hexdigest() +# Instead of comparing the direct outputs (which was leading to ambiguous results), +# this function uses a workaround that checks the file's MD5 hash before and after formatting. def check_format_qml_file(file): executable = "qmlformat" if os.name == 'nt':