Remove extraneous noqa E722 comment

E722 is "Do not use bare except, specify exception instead" but
except json.JSONDecodeError
is not a bare except
pull/905/head
endolith 2023-04-16 08:47:11 -04:00
parent a91ef56954
commit 5ff7fc340b
1 changed files with 1 additions and 1 deletions

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