Skip to content

ci: pre-commit check-yaml fails on mkdocs.yml python-specific tag #155

Description

@db-tycoon-stephen

Found while building PR #153: uvx pre-commit run --all-files fails on the check-yaml hook because mkdocs.yml uses the mkdocs-material tag !!python/name:material.extensions.emoji.twemoji, which yaml.safe_load rejects. Pre-existing (reproduces on a clean tree) — invisible until now because pre-commit wasn't run with --all-files; the new gitleaks/bandit hooks (PR #153) make full runs more likely.

Fix options: args: [--unsafe] on the check-yaml hook (syntax-only check), or exclude: ^mkdocs\.yml$.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions