Browse Source

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) <gchamoul@redhat.com>
changes/37/789837/1
Gael Chamoulaud (Strider) 1 month ago
parent
commit
57a346c8c1
No known key found for this signature in database GPG Key ID: 4119D0305C651D66
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      .pre-commit-config.yaml

+ 10
- 2
.pre-commit-config.yaml View File

@ -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]


Loading…
Cancel
Save