diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-02-11 22:09:41 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-02-11 22:09:41 +0100 |
commit | a6b9eef7ca6124f5d4626cf885f74e8e9eb2f0a2 (patch) | |
tree | 209c9c1b7c0e62ddf3c06b445f6e7f2ffc1ac526 | |
parent | 7d8a06f2ddebf98b724fd5940b02c5b440837601 (diff) |
feat: update pre commit hooks
-rw-r--r-- | .pre-commit-config.yaml | 40 |
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: [] |