From cc9597355245afbbb79ee29156caf03668fd76d3 Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 9 Dec 2022 17:30:14 -0500 Subject: [PATCH] pyl w/ burnettk --- .../src/spiffworkflow_backend/config/staging.py | 2 +- .../src/spiffworkflow_backend/services/git_service.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/config/staging.py b/spiffworkflow-backend/src/spiffworkflow_backend/config/staging.py index 51735e4e1..5f0fec4ca 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/config/staging.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/config/staging.py @@ -1,4 +1,4 @@ -"""staging.""" +"""Staging.""" from os import environ GIT_BRANCH = environ.get("GIT_BRANCH_TO_PUBLISH_TO", default="staging") diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py index f5b1d0989..f187a47cb 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py @@ -228,7 +228,9 @@ class GitService: f"from {g.user.username} on {current_app.config['ENV_IDENTIFIER']}" ) cls.commit(commit_message, destination_process_root) - cls.run_shell_command(["git", "push", "--set-upstream", "origin", branch_to_pull_request]) + cls.run_shell_command( + ["git", "push", "--set-upstream", "origin", branch_to_pull_request] + ) # build url for github page to open PR git_remote = cls.run_shell_command_to_get_stdout(