From a6b9eef7ca6124f5d4626cf885f74e8e9eb2f0a2 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 11 Feb 2022 22:09:41 +0100 Subject: feat: update pre commit hooks --- .pre-commit-config.yaml | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) (limited to '.pre-commit-config.yaml') 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: [] -- cgit v1.2.3-70-g09d2