Merge "Bump linters"

This commit is contained in:
Zuul 2021-04-08 21:18:00 +00:00 committed by Gerrit Code Review
commit 18918fb5d0
1 changed files with 4 additions and 11 deletions

View File

@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
rev: v3.4.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
@ -14,8 +14,8 @@ repos:
- id: check-yaml
files: .*\.(yaml|yml)$
args: [--allow-multiple-documents]
- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.3
- repo: https://github.com/pycqa/flake8
rev: 3.9.0
hooks:
- id: flake8
additional_dependencies: [flake8-typing-imports==1.6.0]
@ -23,15 +23,8 @@ repos:
# TODO(cloudnull): These codes were added to pass the lint check.
# All of these ignore codes should be resolved in
# future PRs.
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.24.2
hooks:
- id: yamllint
files: \.(yaml|yml)$
types: [file, yaml]
entry: yamllint --strict -f parsable
- repo: https://github.com/ansible-community/ansible-lint
rev: v5.0.3
rev: v5.0.7
hooks:
- id: ansible-lint
additional_dependencies: