mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-04 22:04:35 +01:00
linting
This commit is contained in:
@@ -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
|
||||
return result
|
||||
|
||||
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user