diff --git a/build_files/utils/make_source_archive.py b/build_files/utils/make_source_archive.py index ac6b1f73228..d5590e4bc00 100755 --- a/build_files/utils/make_source_archive.py +++ b/build_files/utils/make_source_archive.py @@ -33,7 +33,7 @@ def main() -> None: blender_srcdir = Path(__file__).absolute().parent.parent.parent cli_parser = argparse.ArgumentParser( - description=f"Create a tarball of the Blender sources, optionally including sources of dependencies.", + description="Create a tarball of the Blender sources, optionally including sources of dependencies.", epilog="This script is intended to be run by `make source_archive_complete`.", ) cli_parser.add_argument( diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py index 44780fd2b9d..26f7b0dc496 100755 --- a/build_files/utils/make_update.py +++ b/build_files/utils/make_update.py @@ -393,7 +393,7 @@ def floating_checkout_add_origin_if_needed( upstream_url = make_utils.git_get_remote_url(args.git_command, "upstream") call((args.git_command, "remote", "rename", "upstream", "origin")) - make_utils.git_set_config(args.git_command, f"remote.origin.url", origin_external_url) + make_utils.git_set_config(args.git_command, "remote.origin.url", origin_external_url) call((args.git_command, "remote", "add", "upstream", upstream_url)) finally: diff --git a/scripts/modules/bl_keymap_utils/io.py b/scripts/modules/bl_keymap_utils/io.py index 5c224c6630e..f6bce2c010d 100644 --- a/scripts/modules/bl_keymap_utils/io.py +++ b/scripts/modules/bl_keymap_utils/io.py @@ -84,7 +84,7 @@ def _kmi_properties_to_lines_recursive(level, properties, lines): lines_test = [] _kmi_properties_to_lines_recursive(level + 2, value, lines_test) if lines_test: - lines.append(f"(") + lines.append("(") lines.append(f"\"{pname}\",\n") lines.append(f"{indent(level + 3)}" "[") lines.extend(lines_test) @@ -172,19 +172,19 @@ def keyconfig_export_as_data(wm, kc, filepath, *, all_keymaps=False): fw("},\n") fw(f"{indent(2)}" "{") is_modal = km.is_modal - fw(f"\"items\":\n") + fw("\"items\":\n") fw(f"{indent(3)}[") for kmi in km.keymap_items: if is_modal: kmi_id = kmi.propvalue else: kmi_id = kmi.idname - fw(f"(") + fw("(") kmi_args = kmi_args_as_data(kmi) kmi_data = _kmi_attrs_or_none(4, kmi) fw(f"\"{kmi_id:s}\"") if kmi_data is None: - fw(f", ") + fw(", ") else: fw(",\n" f"{indent(5)}") diff --git a/tools/utils_doc/rna_manual_reference_updater.py b/tools/utils_doc/rna_manual_reference_updater.py index fd63577dba3..9ac2fd8baaa 100644 --- a/tools/utils_doc/rna_manual_reference_updater.py +++ b/tools/utils_doc/rna_manual_reference_updater.py @@ -76,7 +76,7 @@ def write_mappings(inv, output): fw = file.write year = datetime.date.today().year - fw(f"# SPDX-FileCopyrightText: 2019-%d Blender Authors\n" % (year)) + fw("# SPDX-FileCopyrightText: 2019-%d Blender Authors\n" % year) fw("#\n") fw("# SPDX-License-Identifier: GPL-2.0-or-later\n") fw("\n")