mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-26 18:34:23 +01:00
Merge pull request #905 from endolith/noqa
Remove irrelevant noqa comments
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user