From 57a346c8c141f73fb12ae682cb89efd43c3d44f1 Mon Sep 17 00:00:00 2001 From: "Gael Chamoulaud (Strider)" Date: Wed, 5 May 2021 15:56:39 +0200 Subject: [PATCH] Bump pre-commit repositories This patch bumps the following tools: - pre-commit-hooks[1] to v3.4.0 - yamllint[2] to v5.0.8 And adds pycqa/flake8: - flake8[3] to 3.9.1 [1] - https://github.com/pre-commit/pre-commit-hooks [2] - https://github.com/adrienverge/yamllint [3] - https://gitlab.com/pycqa/flake8 Change-Id: I45c4181309de69613dac6adee70dc875774cc309 Signed-off-by: Gael Chamoulaud (Strider) --- .pre-commit-config.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f0eefb2a..a9c859b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.3.0 + rev: v3.4.0 hooks: - id: end-of-file-fixer - id: trailing-whitespace @@ -14,8 +14,16 @@ repos: - id: check-yaml files: .*\.(yaml|yml)$ + - repo: https://github.com/adrienverge/yamllint.git + rev: v1.26.1 + hooks: + - id: yamllint + files: \.(yaml|yml)$ + types: [file, yaml] + entry: yamllint --strict -f parsable + - repo: https://gitlab.com/pycqa/flake8 - rev: 3.8.3 + rev: 3.9.1 hooks: - id: flake8 additional_dependencies: [flake8-typing-imports==1.6.0]