mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-21 14:58:02 +01:00
add simple pre-commit config
This commit is contained in:
parent
38c003d7e8
commit
08e196eaa9
3 changed files with 10 additions and 2 deletions
8
.pre-commit-config.yaml
Normal file
8
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: check-yaml
|
||||
args: [--unsafe]
|
||||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
Loading…
Reference in a new issue