A pre-commit hook for ryl, the fast YAML linter written in Rust.
Distributed as a standalone repository so that ryl releases published to
PyPI can be consumed directly by pre-commit.
Add the hook to your .pre-commit-config.yaml:
repos:
- repo: https://github.com/owenlamont/ryl-pre-commit
# Match the latest ryl release tag.
rev: v0.4.4
hooks:
- id: rylPass additional CLI options through the args key, for example to point at a
custom configuration file:
- repo: https://github.com/owenlamont/ryl-pre-commit
rev: v0.4.4
hooks:
- id: ryl
args: [--config-file, configs/yl.yml]MIT (see LICENSE)