Browse Source

Merge "Bump linters"

changes/29/785629/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
18918fb5d0
1 changed files with 4 additions and 11 deletions
  1. +4
    -11
      .pre-commit-config.yaml

+ 4
- 11
.pre-commit-config.yaml 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:


Loading…
Cancel
Save