Fix pre-commit hook (#3882)

This commit is contained in:
Luca Prete
2026-04-18 10:07:14 +02:00
committed by GitHub
parent 7a31a07df9
commit f2d4e937d1
286 changed files with 295 additions and 449 deletions

View File

@@ -85,7 +85,7 @@ def _check_dir(dir_name):
tree = schema_docs.parse_node(schema)
props, defs = schema_docs.render_node(tree)
doc = schema_docs.DOC.format(title=schema.get('title'), properties=props,
definitions=defs or '')
definitions=defs or '').strip()
new_doc_content = f'{doc}\n'
state = State.OK