From 62e715ff5b9640d8811c82c2198bf8257a397242 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sun, 11 Oct 2020 21:33:37 +0200 Subject: [PATCH] Formatting --- tests/syntax-tests/create_highlighted_versions.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/syntax-tests/create_highlighted_versions.py b/tests/syntax-tests/create_highlighted_versions.py index 2802991f..e7a37fdf 100755 --- a/tests/syntax-tests/create_highlighted_versions.py +++ b/tests/syntax-tests/create_highlighted_versions.py @@ -33,7 +33,6 @@ def get_options(source): return options - def create_highlighted_versions(output_basepath): root = os.path.dirname(os.path.abspath(__file__)) @@ -56,7 +55,8 @@ def create_highlighted_versions(output_basepath): bat_output = subprocess.check_output( ["bat"] + get_options(source) + [source], - stderr=subprocess.PIPE, env=env, + stderr=subprocess.PIPE, + env=env, ) output_dir = path.join(output_basepath, source_dirname) @@ -83,7 +83,10 @@ def create_highlighted_versions(output_basepath): ) sys.exit(1) except FileNotFoundError: - print("Error: Could not execute 'bat'. Please make sure that the executable is available on the PATH.") + print( + "Error: Could not execute 'bat'. Please make sure that the executable " + "is available on the PATH." + ) sys.exit(1)