mkdocs.yml zu pre-commit YAML check hinzufügen
Als Entwickli will ich mkdocs.yml zum pre-commit YAML check hinzufügen, damit auch diese Datei mit pre-commit überprüft wird.
Aktuell wird mkdocs.yml ignoriert, siehe https://gitlab.opencode.de/f13/dokumentation/-/blob/main/.pre-commit-config.yaml?ref_type=heads#L34.
Der Fehler ist folgender:
check yaml...............................................................Failed
- hook id: check-yaml
- exit code: 1
could not determine a constructor for the tag 'tag:yaml.org,2002:python/name:material.extensions.emoji.twemoji'
in "mkdocs.yml", line 91, column 20
Weitere Informationen finden sich auch hier: https://stackoverflow.com/questions/79664876/how-prevent-check-yaml-for-specific-file-or-line-inside-that-file-with-pre-commi
DoD
-
mkdocs.ymlwurde ausexcludeFeld in pre-commit Konfiguration entfernt -
Review einer zweiten Person durchgeführt
CC @fka
Edited by Lennart de Vries