default_install_hook_types: - pre-commit - commit-msg default_stages: - pre-commit repos: - repo: meta hooks: - id: check-hooks-apply - id: check-useless-excludes - repo: builtin hooks: - id: trailing-whitespace - id: end-of-file-fixer exclude: glob: schemas/*.json - id: check-yaml - id: check-toml - id: check-added-large-files - id: check-merge-conflict - repo: https://github.com/crate-ci/typos rev: v1.40.0 hooks: - id: typos - repo: https://github.com/executablebooks/mdformat rev: "1.0.0" hooks: - id: mdformat - repo: local hooks: - id: taplo-fmt name: taplo fmt entry: taplo fmt language: python additional_dependencies: ["taplo==0.9.3"] types: [toml] - repo: local hooks: - id: fmt name: cargo fmt entry: cargo fmt -- language: system types: [rust] pass_filenames: false - id: clippy name: cargo clippy entry: cargo clippy --all-targets --all-features -- -D warnings language: system types: [rust] pass_filenames: false - id: xtask name: cargo xtask entry: cargo xtask language: system pass_filenames: false always_run: true - repo: https://github.com/python-jsonschema/check-jsonschema rev: 0.37.0 hooks: - id: check-metaschema files: glob: schemas/*.json - id: check-github-workflows files: glob: .gitea/workflows/*.yaml - repo: https://github.com/crate-ci/committed rev: v1.1.8 hooks: - id: committed