-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
37 lines (37 loc) · 1.1 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: trailing-whitespace
- id: check-case-conflict
- id: detect-aws-credentials
# - id: detect-private-key
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-json
- id: check-added-large-files
# - id: check-yaml
- id: debug-statements
- id: name-tests-test
- id: double-quote-string-fixer
- id: requirements-txt-fixer
# - id: check-shebang-scripts-are-executable
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v1.20.1
hooks:
- id: setup-cfg-fmt
- repo: local
hooks:
- id: ansible-lint
name: Ansible-lint
description: This hook runs ansible-lint.
entry: ansible-lint --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
# - repo: https://github.com/gruntwork-io/pre-commit
# rev: v0.1.12
# hooks:
# - id: shellcheck