From 4c45c3f335292fcb26b5a184db7d5ca4730022c4 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Wed, 15 Feb 2023 16:43:05 -0700 Subject: [PATCH] update pre-commit config --- .pre-commit-config.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5f5065c..7418da3 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.4.0 + rev: v4.4.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -17,15 +17,17 @@ repos: - id: ansible-lint name: Ansible-lint description: This hook runs ansible-lint. - entry: ansible-lint --force-color + entry: python3 -m ansiblelint -v --force-color language: python # do not pass files to ansible-lint, see: # https://github.com/ansible/ansible-lint/issues/611 pass_filenames: false always_run: true + additional_dependencies: + - ansible-core=>2.13.3 - repo: https://github.com/adrienverge/yamllint.git - rev: v1.26.0 + rev: v1.29.0 hooks: - id: yamllint files: \.(yaml|yml)$