From 71abd6f2e408dd0d9f75ede3afcc7f8e78ee7f72 Mon Sep 17 00:00:00 2001 From: Eddie Cohen Date: Sat, 15 Apr 2023 11:15:18 -0400 Subject: [PATCH] linting --- autogpt/commands/git_operations.py | 3 ++- autogpt/config/config.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/autogpt/commands/git_operations.py b/autogpt/commands/git_operations.py index 3309192c..87232589 100644 --- a/autogpt/commands/git_operations.py +++ b/autogpt/commands/git_operations.py @@ -3,6 +3,7 @@ from config import Config cfg = Config() + def clone_repository(repo_url, clone_path): """Clone a github repository locally""" split_url = repo_url.split("//") @@ -10,4 +11,4 @@ def clone_repository(repo_url, clone_path): git.Repo.clone_from(auth_repo_url, clone_path) result = f"""Cloned {repo_url} to {clone_path}""" - return result \ No newline at end of file + return result diff --git a/autogpt/config/config.py b/autogpt/config/config.py index 1fe4a870..acaf9267 100644 --- a/autogpt/config/config.py +++ b/autogpt/config/config.py @@ -55,7 +55,7 @@ class Config(metaclass=Singleton): self.use_brian_tts = False self.use_brian_tts = os.getenv("USE_BRIAN_TTS") - + self.github_api_key = os.getenv("GITHUB_API_KEY") self.github_username = os.getenv("GITHUB_USERNAME")