change pre-commit repo to local
This commit is contained in:
@@ -1,8 +1,12 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/ansible-community/ansible-lint.git
|
- repo: local
|
||||||
rev: v6.8.0 # put latest release tag from https://github.com/ansible-community/ansible-lint/releases/
|
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
name: Ansible-lint
|
name: Ansible-lint
|
||||||
description: This hook runs 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