AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
lint: Fix E231 flake8 linting errors
Drikus Roor4afd0a3714e3
diff --git a/scripts/config.py b/scripts/config.pyindex ebf1b08b22..01505b22dd 100644--- a/scripts/config.py+++ b/scripts/config.py@@ -73,7 +73,7 @@ class Config(metaclass=Singleton):# User agent headers to use when browsing web# Some websites might just completely deny request with an error code if no user agent was found.- self.user_agent_header = {"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"}+ self.user_agent_header = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"}self.redis_host = os.getenv("REDIS_HOST", "localhost")self.redis_port = os.getenv("REDIS_PORT", "6379")self.redis_password = os.getenv("REDIS_PASSWORD", "")diff --git a/tests/test_json_parser.py b/tests/test_json_parser.pyindex b8cb2680d4..0f2c6488c6 100644--- a/tests/test_json_parser.py+++ b/tests/test_json_parser.py@@ -50,7 +50,7 @@ class TestParseJson(unittest.TestCase):good_obj = {"command": {"name": "browse_website",- "args":{+ "args": {"url": "https://github.com/Torantulino/Auto-GPT"}},@@ -89,7 +89,7 @@ class TestParseJson(unittest.TestCase):good_obj = {"command": {"name": "browse_website",- "args":{+ "args": {"url": "https://github.com/Torantulino/Auto-GPT"}},diff --git a/tests/unit/json_tests.py b/tests/unit/json_tests.pyindex 1edbaeaf36..3320ad5e9a 100644--- a/tests/unit/json_tests.py+++ b/tests/unit/json_tests.py@@ -52,7 +52,7 @@ class TestParseJson(unittest.TestCase):good_obj = {"command": {"name": "browse_website",- "args":{+ "args": {"url": "https://github.com/Torantulino/Auto-GPT"}},@@ -91,7 +91,7 @@ class TestParseJson(unittest.TestCase):good_obj = {"command": {"name": "browse_website",- "args":{+ "args": {"url": "https://github.com/Torantulino/Auto-GPT"}},