From 6abc19f3d98483ace37d040a718dd01a8be12fdc Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 16 Feb 2024 03:00:16 -0500 Subject: Reformat (Black) and lint (flake8) Python scripts --- checkout.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'checkout.py') diff --git a/checkout.py b/checkout.py index 5b25758..9e1c6d0 100755 --- a/checkout.py +++ b/checkout.py @@ -5,7 +5,6 @@ # Part of the Jellyfin CI system ############################################################################### -import os.path from subprocess import run, PIPE import sys @@ -36,10 +35,12 @@ for submodule in this_repo.submodules: # Validate that the provided tag is valid; if not, fall back to "master" if target_release != "master": if ( - target_release not in submodules["jellyfin-server"].tags or - target_release not in submodules["jellyfin-web"].tags - ): - print(f"WARNING: Provided tag {target_release} is not a valid tag for both jellyfin-server and jellyfin-web; using master instead") + target_release not in submodules["jellyfin-server"].tags + or target_release not in submodules["jellyfin-web"].tags + ): + print( + f"WARNING: Provided tag {target_release} is not a valid tag for both jellyfin-server and jellyfin-web; using master instead" + ) target_release = "master" for submodule in submodules.keys(): -- cgit