Skip to content

pre-commit

View as Markdown

Add the hook to .pre-commit-config.yaml and run pre-commit install. The hook installs the prebuilt PyPI wheel, so it runs without a Rust toolchain.

repos:
- repo: https://github.com/marwanvx/oxyaml-pre-commit
rev: v1.0.1
hooks:
- id: oxyaml-check

Run pre-commit autoupdate to get new versions.