Skip to content

Commit

Permalink
BBL-440 | adding pre-commit-config
Browse files Browse the repository at this point in the history
  • Loading branch information
exequielrafaela committed Nov 16, 2020
1 parent c8c1f4f commit a7eabf5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
!/.github
!*.gitkeep
!*.editorconfig
!*.pre-commit-config.yaml

# SSH keys #
############
Expand Down
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
default_language_version:
# force all unspecified python hooks to run python3
python: python3

repos:
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
- id: pretty-format-json
args:
- --autofix
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md

- repo: git://github.com/antonbabenko/pre-commit-terraform
rev: v1.43.0
hooks:
- id: terraform_fmt
- id: terraform_docs

0 comments on commit a7eabf5

Please sign in to comment.