diff --git a/autogpt/cli.py b/autogpt/cli.py index 323c126b9..a69a53acc 100644 --- a/autogpt/cli.py +++ b/autogpt/cli.py @@ -61,7 +61,7 @@ def main( memory_type: str, browser_name: str, allow_downloads: bool, - skip_news: bool + skip_news: bool, ) -> None: """ Welcome to AutoGPT an experimental open-source application showcasing the capabilities of the GPT-4 pushing the boundaries of AI. @@ -97,7 +97,7 @@ def main( memory_type, browser_name, allow_downloads, - skip_news + skip_news, ) logger.set_level(logging.DEBUG if cfg.debug_mode else logging.INFO) ai_name = "" diff --git a/autogpt/configurator.py b/autogpt/configurator.py index 79b0bd0bf..1dc3be124 100644 --- a/autogpt/configurator.py +++ b/autogpt/configurator.py @@ -22,7 +22,7 @@ def create_config( memory_type: str, browser_name: str, allow_downloads: bool, - skip_news: bool + skip_news: bool, ) -> None: """Updates the config object with the given arguments. diff --git a/autogpt/utils.py b/autogpt/utils.py index c7b35b11b..3dc42871a 100644 --- a/autogpt/utils.py +++ b/autogpt/utils.py @@ -39,9 +39,12 @@ def readable_file_size(size, decimal_places=2): size /= 1024.0 return f"{size:.{decimal_places}f} {unit}" + def get_latest_bulletin() -> str: try: - response = requests.get('https://raw.githubusercontent.com/Significant-Gravitas/Auto-GPT/master/BULLETIN.md') + response = requests.get( + "https://raw.githubusercontent.com/Significant-Gravitas/Auto-GPT/master/BULLETIN.md" + ) if response.status_code == 200: return response.text except: