Merge pull request #905 from endolith/noqa

Remove irrelevant noqa comments
This commit is contained in:
Richard Beales
2023-04-17 07:14:41 +01:00
committed by GitHub

View File

@@ -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()