summaryrefslogtreecommitdiffstats
path: root/util/cmake/configurejson2cmake.py
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-07-30 15:56:37 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-07-31 12:55:33 +0200
commit4ed483b0e24b410b6bb240b48b4ad71e67877dc2 (patch)
tree1f20cd85ce81e71bfe759f87b607ae54a973a11f /util/cmake/configurejson2cmake.py
parentca103f357c5dde9d39dc1d42ef53f02b5e632d43 (diff)
CMake: pro2cmake: Fix errors reported by flake8 and mypy
Change-Id: I842c0f8d7ec1d173fa1dbd74e769e2c370e70518 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'util/cmake/configurejson2cmake.py')
-rwxr-xr-xutil/cmake/configurejson2cmake.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/cmake/configurejson2cmake.py b/util/cmake/configurejson2cmake.py
index a443c4e842d..d164f270f54 100755
--- a/util/cmake/configurejson2cmake.py
+++ b/util/cmake/configurejson2cmake.py
@@ -586,7 +586,7 @@ qt_config_compile_test("{config_test_name}"
if packages:
packages_string = " ".join(packages)
cm_fh.write(f" PACKAGES {packages_string}")
- cm_fh.write(f")\n")
+ cm_fh.write(")\n")
def write_compile_test(
@@ -1205,7 +1205,7 @@ def processSummaryHelper(ctx, entries, cm_fh):
entry_args_string = "".join(function_args)
cm_fh.write(f"qt_configure_add_summary_entry(\n{entry_args_string})\n")
elif "type" in entry and entry["type"] == "buildTypeAndConfig":
- cm_fh.write(f"qt_configure_add_summary_build_type_and_config()\n")
+ cm_fh.write("qt_configure_add_summary_build_type_and_config()\n")
elif "type" in entry and entry["type"] == "buildMode":
message = entry["message"]
cm_fh.write(f"qt_configure_add_summary_build_mode({message})\n")