diff --git a/.github/scripts/determine-hub-deployments.py b/.github/scripts/determine-hub-deployments.py index cc4010bb7..6017c6b8a 100755 --- a/.github/scripts/determine-hub-deployments.py +++ b/.github/scripts/determine-hub-deployments.py @@ -18,10 +18,8 @@ def main(args): hubs = [] # Deploy all hubs by getting deployment names from the dirs in deployments/ - if ( - "GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT" or - "GITHUB_PR_LABEL_HUB_IMAGES" - ) in os.environ.keys(): + if "GITHUB_PR_LABEL_JUPYTERHUB_DEPLOYMENT" or \ + "GITHUB_PR_LABEL_HUB_IMAGES" in os.environ.keys(): for deployment in next(os.walk(args.deployments))[1]: if deployment not in args.ignore: hubs.append(deployment)