summaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml40
1 files changed, 23 insertions, 17 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 2804827..66d6ea1 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,29 +1,35 @@
+---
repos:
-- repo: https://github.com/pre-commit/pre-commit-hooks
+ - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- - id: check-yaml
- - id: end-of-file-fixer
- - id: trailing-whitespace
-- repo: local
+ - id: check-yaml
+ - id: end-of-file-fixer
+ - id: trailing-whitespace
+ - repo: local
hooks:
- - id: black
+ - id: black
name: black
entry: black
language: system
types: [python]
- - id: flake8
+ - id: flake8
name: flake8
entry: flake8
language: system
types: [python]
-- repo: https://github.com/compilerla/conventional-pre-commit
- rev: v1.2.0
- hooks:
- - id: conventional-pre-commit
- stages: [commit-msg]
- args: []
-- repo: https://github.com/koalaman/shellcheck-precommit
- rev: v0.8.0
- hooks:
- - id: shellcheck
+ - repo: https://github.com/compilerla/conventional-pre-commit
+ rev: v1.2.0
+ hooks:
+ - id: conventional-pre-commit
+ stages: [commit-msg]
+ args: []
+ - repo: https://github.com/koalaman/shellcheck-precommit
+ rev: v0.8.0
+ hooks:
+ - id: shellcheck
+ - repo: https://github.com/adrienverge/yamllint.git
+ rev: v1.17.0
+ hooks:
+ - id: yamllint
+ args: []