typos/.pre-commit-hooks.yaml
Ville Skyttä ec3ffa591c feat: Add Docker pre-commit hook
Mostly as an alternative to the src install, but trading host dependency
on Rust with one on Docker.
2022-12-20 21:06:04 +02:00

26 lines
627 B
YAML

- id: typos
name: typos
description: Source code spell checker, binary install
language: python
entry: typos
args: [--write-changes]
types: [text]
stages: [commit, merge-commit, push, manual]
- id: typos-docker
name: typos
description: Source code spell checker, Docker image
language: docker
entry: typos
args: [--write-changes]
types: [text]
stages: [commit, merge-commit, push, manual]
- id: typos-src
name: typos
description: Source code spell checker, source install
language: rust
entry: typos
args: [--write-changes]
types: [text]
stages: [commit, merge-commit, push, manual]