-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
28 lines (28 loc) · 990 Bytes
/
.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
fail_fast: false
exclude: ^.vim/bundle
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending # replaces or checks mixed line ending
- id: check-case-conflict # checks for files that would conflict in case-insensitive filesystems
- id: check-merge-conflict # checks for files that contain merge conflict strings
- id: check-yaml # checks yaml files for parseable syntax
- id: check-json # checks json files for parseable syntax
- id: check-toml # checks toml files for parseable syntax
- repo: https://github.com/psf/black
rev: 22.6.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: v1.74.1
hooks:
- id: terraform_validate
- id: terraform_fmt
- id: terraform_docs