1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-03 14:25:38 +02:00

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
This commit is contained in:
Andreas Traczyk 2023-04-13 16:12:13 -04:00
parent 9b5ef6223d
commit be32998ff1

View file

@ -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 + "~"