Skip to content

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.

Remove extraneous noqa E722 comment

endolith5ff7fc340b90
diff --git a/autogpt/json_fixes/auto_fix.py b/autogpt/json_fixes/auto_fix.py
index 9fcf909a49..0d3bd73ce1 100644
--- a/autogpt/json_fixes/auto_fix.py
+++ b/autogpt/json_fixes/auto_fix.py
@@ -45,7 +45,7 @@ def fix_json(json_string: str, schema: str) -> str:
try:
json.loads(result_string) # just check the validity
return result_string
- except json.JSONDecodeError: # noqa: E722
+ except json.JSONDecodeError:
# Get the call stack:
# import traceback
# call_stack = traceback.format_exc()