Igor Trujnara
03/14/2025, 4:07 PMyaml-schema.json is the string meta-schema.json , rather than the file content. Due to this, I cannot commit any changes. Does someone know what causes the issue and how it can be solved?Júlia Mir
03/14/2025, 4:12 PMIgor Trujnara
03/14/2025, 4:13 PMJúlia Mir
03/14/2025, 4:18 PMIgor Trujnara
03/14/2025, 4:25 PMJúlia Mir
03/14/2025, 4:27 PMmeta-schema.json and not yaml-schema.json? 🤔Júlia Mir
03/14/2025, 4:27 PMIgor Trujnara
03/14/2025, 4:27 PMMatch meta.ymls in one of the subdirectories of modules/nf-core............................Failed
- hook id: check-jsonschema
- exit code: 1
Error: schemafile could not be parsed as JSON
SchemaParseError: /home/igor/Work/modules/modules/yaml-schema.json
in "/home/igor/.cache/pre-commit/repoxg0jzlui/py_env-python3.10/lib/python3.10/site-packages/check_jsonschema/checker.py", line 53
>>> return self._schema_loader.get_validator(
caused by
FailedFileLoadError: Failed to parse /home/igor/Work/modules/modules/yaml-schema.json
in "/home/igor/.cache/pre-commit/repoxg0jzlui/py_env-python3.10/lib/python3.10/site-packages/check_jsonschema/schema_loader/readers.py", line 27
>>> schema = callback()
caused by
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
in "/home/igor/.cache/pre-commit/repoxg0jzlui/py_env-python3.10/lib/python3.10/site-packages/check_jsonschema/parsers/__init__.py", line 92
>>> return loadfunc(data)
caused by
StopIteration: 0
in "/home/igor/miniforge3/lib/python3.10/json/decoder.py", line 353
>>> obj, end = self.scan_once(s, idx)Júlia Mir
03/14/2025, 4:28 PMJúlia Mir
03/14/2025, 4:28 PM--no-verify when you commitJúlia Mir
03/14/2025, 4:29 PMJúlia Mir
03/14/2025, 4:29 PMIgor Trujnara
03/14/2025, 4:38 PMIgor Trujnara
03/14/2025, 4:39 PMJúlia Mir
03/14/2025, 4:42 PMIgor Trujnara
03/14/2025, 4:53 PM