diff --git a/mephisto/abstractions/architects/heroku_architect.py b/mephisto/abstractions/architects/heroku_architect.py index 4eef7d571..120ddb0c9 100644 --- a/mephisto/abstractions/architects/heroku_architect.py +++ b/mephisto/abstractions/architects/heroku_architect.py @@ -347,7 +347,7 @@ def __setup_heroku_server(self) -> str: server_dir = self.__get_build_directory() print("Heroku: Starting server...") - branch = 'main' + branch = "main" heroku_server_directory_path = os.path.join(server_dir, "router") sh.git(shlex.split(f"-C {heroku_server_directory_path} init -b {branch}")) @@ -419,7 +419,9 @@ def __setup_heroku_server(self) -> str: # commit and push to the heroku server sh.git(shlex.split(f"-C {heroku_server_directory_path} add -A")) sh.git(shlex.split(f'-C {heroku_server_directory_path} commit -m "app"')) - sh.git(shlex.split(f"-C {heroku_server_directory_path} push -f heroku {branch}")) + sh.git( + shlex.split(f"-C {heroku_server_directory_path} push -f heroku {branch}") + ) os.chdir(heroku_server_directory_path) subprocess.check_output(