Skip to content
Snippets Groups Projects
Commit be32998f authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

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
parent 9b5ef622
No related branches found
No related tags found
No related merge requests found
......@@ -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 + "~"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment