change pre-commit repo to local
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
repos:
|
||||
- repo: https://github.com/ansible-community/ansible-lint.git
|
||||
rev: v6.8.0 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
name: Ansible-lint
|
||||
description: This hook runs ansible-lint.
|
||||
entry: ansible-lint --nocolor
|
||||
entry: ansible-lint -v --nocolor
|
||||
language: python
|
||||
# do not pass files to ansible-lint, see:
|
||||
# https://github.com/ansible-community/ansible-lint/issues/611
|
||||
pass_filenames: false
|
||||
always_run: true
|
||||
Reference in New Issue
Block a user