add simple pre-commit config

This commit is contained in:
Gabriel Augendre 2024-10-10 22:50:45 +02:00
parent 38c003d7e8
commit 08e196eaa9
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,3 @@
[env] [env]
ANSIBLE_INVENTORY = "{{config_root}}/inventory.ini" ANSIBLE_INVENTORY = "{{config_root}}/inventory.ini"
ANSIBLE_VAULT_PASSWORD_FILE = "{{config_root}}/vault.pass" ANSIBLE_VAULT_PASSWORD_FILE = "{{config_root}}/vault.pass"

8
.pre-commit-config.yaml Normal file
View 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

View file

@ -66,4 +66,4 @@
3662343162643033380a326161313036643835636562636165356464393236303533303435353365 3662343162643033380a326161313036643835636562636165356464393236303533303435353365
36336163313338346235396565363631366564393562326536353262363637653432643830663532 36336163313338346235396565363631366564393562326536353262363637653432643830663532
30356133383335653330613965623261323531613131663437363430636565393262353565326132 30356133383335653330613965623261323531613131663437363430636565393262353565326132
323830313235313462633335333763363161 323830313235313462633335333763363161