Not quite sure what is going on, but could it be a v3.9 issue and it looks like it is filling in json.load of the temple in line 49
jupyter-notebook-cleanup.................................................Failed
- hook id: jupyter-notebook-cleanup
- exit code: 1
- files were modified by this hook
Traceback (most recent call last):
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/bin/jupyter-notebook-cleanup", line 8, in <module>
sys.exit(main())
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/lib/python3.9/site-packages/jupyter_notebook_cleanup/cli.py", line 27, in main
remove_output_file(
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/lib/python3.9/site-packages/jupyter_notebook_cleanup/cli.py", line 49, in remove_output_file
data = json.load(f, object_pairs_hook=OrderedDict)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/bin/jupyter-notebook-cleanup", line 8, in <module>
sys.exit(main())
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/lib/python3.9/site-packages/jupyter_notebook_cleanup/cli.py", line 27, in main
remove_output_file(
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/lib/python3.9/site-packages/jupyter_notebook_cleanup/cli.py", line 49, in remove_output_file
data = json.load(f, object_pairs_hook=OrderedDict)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/bin/jupyter-notebook-cleanup", line 8, in <module>
sys.exit(main())
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/lib/python3.9/site-packages/jupyter_notebook_cleanup/cli.py", line 27, in main
remove_output_file(
File "/Users/rich/.cache/pre-commit/repogf80rbub/py_env-python3/lib/python3.9/site-packages/jupyter_notebook_cleanup/cli.py", line 49, in remove_output_file
data = json.load(f, object_pairs_hook=OrderedDict)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/__init__.py", line 359, in loads
return cls(**kw).decode(s)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)