summaryrefslogtreecommitdiffstats
path: root/util/cmake/run_pro2cmake.py
diff options
context:
space:
mode:
authorJoerg Bornemann <[email protected]>2022-02-24 11:31:10 +0100
committerJoerg Bornemann <[email protected]>2022-02-28 15:40:32 +0100
commit8a6899239a02524b8ffe5f1ad0cd8a2b83ef6f01 (patch)
tree24d86da2d45fc6ad413fa5c6245a65d493f6d734 /util/cmake/run_pro2cmake.py
parent354e4e867acaa93e661769b2a78c146e181ba47f (diff)
pro2cmake: Re-format sources with black
...to have a consistent baseline for further improvements. Change-Id: Iba8e83a7a5cf5ca0cdf509f79e7d2dc2d8f42fec Reviewed-by: Alexandru Croitor <[email protected]>
Diffstat (limited to 'util/cmake/run_pro2cmake.py')
-rwxr-xr-xutil/cmake/run_pro2cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cmake/run_pro2cmake.py b/util/cmake/run_pro2cmake.py
index 4a12c57b83a..80d9633189a 100755
--- a/util/cmake/run_pro2cmake.py
+++ b/util/cmake/run_pro2cmake.py
@@ -100,7 +100,7 @@ def parse_command_line() -> argparse.Namespace:
def find_all_pro_files(base_path: str, args: argparse.Namespace):
def sorter(pro_file: str) -> str:
- """ Sorter that tries to prioritize main pro files in a directory. """
+ """Sorter that tries to prioritize main pro files in a directory."""
pro_file_without_suffix = pro_file.rsplit("/", 1)[-1][:-4]
dir_name = os.path.dirname(pro_file)
if dir_name == ".":