Skip to content

owenlamont/ryl-pre-commit

Repository files navigation

ryl-pre-commit

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.

Usage

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: ryl

Pass 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]

License

MIT (see LICENSE)

About

Pre-commit hook for ryl

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages