From be32998ff1e75e4ef005924c2d41ae25b1047a4a Mon Sep 17 00:00:00 2001
From: Andreas Traczyk <andreas.traczyk@savoirfairelinux.com>
Date: Thu, 13 Apr 2023 16:12:13 -0400
Subject: [PATCH] misc: don't `--normalize` when using qmlformat

Removes some intelligent grouping in the code. Perhaps normalization can be selectively done to the the strings and theme files at some point.

Gitlab: #1059
Change-Id: If9b0363567bc715dca0bdb4e3662612a5b159361
---
 extras/scripts/format.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/scripts/format.py b/extras/scripts/format.py
index 59cf6bffd..a6155bb42 100755
--- a/extras/scripts/format.py
+++ b/extras/scripts/format.py
@@ -69,7 +69,7 @@ def qml_format_files(files):
     for filename in files:
         if os.path.isfile(filename):
             print(f"Formatting: {filename}", end='\r')
-            extra_args = ['--normalize', '--force']
+            extra_args = ['--force']
             subprocess.call([QMLFORMAT, '--inplace', filename] + extra_args)
             # This may generate a backup file (ending with ~), so delete it.
             backup_file = filename + "~"
-- 
GitLab