From 5704c963569111c20542205ad015295abec8ffe8 Mon Sep 17 00:00:00 2001 From: burnettk Date: Mon, 20 Feb 2023 10:58:04 -0500 Subject: [PATCH] delint --- .../src/spiffworkflow_backend/services/git_service.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py index e73dd061..f8ea457d 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py @@ -197,13 +197,15 @@ class GitService: f" body: {webhook}" ) - config_clone_url = current_app.config["SPIFFWORKFLOW_BACKEND_GIT_PUBLISH_CLONE_URL"] + config_clone_url = current_app.config[ + "SPIFFWORKFLOW_BACKEND_GIT_PUBLISH_CLONE_URL" + ] repo = webhook["repository"] valid_clone_urls = [repo["clone_url"], repo["git_url"], repo["ssh_url"]] if config_clone_url not in valid_clone_urls: raise GitCloneUrlMismatchError( - "Configured clone url does not match the repo URLs from webhook: %s =/= %s" - % (config_clone_url, valid_clone_urls) + "Configured clone url does not match the repo URLs from webhook: %s" + " =/= %s" % (config_clone_url, valid_clone_urls) ) # Test webhook requests have a zen koan and hook info.