* Pre-commit config Run following linters on commit: Terraform: - terraform fmt - terraform tflint Python specific: - yapf Shell scripts - shellcheck - shfmt YAML files: - yamllint (disabled as of now) - check-yaml Other: - end-of-file-fixer - trailing-whitespace fixer Fabric specific - tools/tfdoc.py - tools/check_boilerplate.py * linting fixes * Fix boilerplate check
17 lines
191 B
Plaintext
17 lines
191 B
Plaintext
---
|
|
|
|
yaml-files:
|
|
- '*.yaml'
|
|
- '*.yml'
|
|
- '.yamllint'
|
|
|
|
extends: default
|
|
|
|
rules:
|
|
indentation:
|
|
indent-sequences: consistent
|
|
line-length:
|
|
max: 120
|
|
level: warning
|
|
braces: disable
|