Pre-commit hooks (#125)

* feat: pre-commit

* empty

* fix: requirements.txt
This commit is contained in:
samerbahri98
2022-10-27 02:15:24 +02:00
committed by GitHub
parent 45ddd65e74
commit 4f3b8ec9e0
4 changed files with 27 additions and 7 deletions

21
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,21 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: requirements-txt-fixer
- id: sort-simple-yaml
- id: detect-private-key
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.28.0
hooks:
- id: yamllint
args: [-c=.yamllint]
- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.8.2
hooks:
- id: ansible-lint
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.4
hooks:
- id: shellcheck