Commit Graph

5 Commits

Author SHA1 Message Date
Wiktor Niesiobędzki
8b7607af63 Codespell / whitespace fixes 2024-10-30 10:30:37 +01:00
Wiktor Niesiobędzki
30d1deceee Skip tflint on fast stages as it requires extra config 2024-10-30 10:30:37 +01:00
Wiktor Niesiobędzki
a2ce318d11 Add spellchecker to pre-commit 2024-10-30 10:30:37 +01:00
Wiktor Niesiobędzki
49c1d60f67 Add outstanding checks from lint.sh to pre-commit (#2327)
* versions
* validate metadata
* check names
* check links
2024-05-31 10:22:21 +00:00
Wiktor Niesiobędzki
f8f18734f1 Add pre-commit hook configuration (#2326)
* 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
2024-05-30 19:35:09 +02:00