Initial commit
This commit is contained in:
commit
e98b6980f2
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
## Terraform files
|
||||
.terraform
|
||||
terraform.tfvars
|
||||
**.tfstate*
|
||||
|
||||
## IDE files
|
||||
.idea
|
||||
|
||||
## Mac detritus
|
||||
*.DS_Store
|
||||
|
||||
# Local python venv
|
||||
.venv/
|
||||
|
||||
# Local env files
|
||||
.env*
|
52
.pre-commit-config.yaml
Normal file
52
.pre-commit-config.yaml
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0 # Use the ref you want to point at
|
||||
hooks:
|
||||
- id: end-of-file-fixer
|
||||
name: Fix EOF
|
||||
types:
|
||||
- text
|
||||
|
||||
- id: trailing-whitespace
|
||||
name: Fix trailing whitespace
|
||||
types:
|
||||
- text
|
||||
|
||||
- id: check-merge-conflict
|
||||
name: Check merge conflict
|
||||
types:
|
||||
- text
|
||||
|
||||
- id: check-yaml
|
||||
name: Check YAML file syntax
|
||||
types:
|
||||
- yaml
|
||||
|
||||
- repo: https://github.com/Yelp/detect-secrets
|
||||
rev: v1.5.0
|
||||
hooks:
|
||||
- id: detect-secrets
|
||||
name: Check for committed secrets
|
||||
types:
|
||||
- text
|
||||
|
||||
- repo: https://github.com/executablebooks/mdformat
|
||||
rev: 0.7.17
|
||||
hooks:
|
||||
- id: mdformat
|
||||
args:
|
||||
- "--number"
|
||||
- "--wrap=90"
|
||||
additional_dependencies:
|
||||
- mdformat-gfm
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: terraform-format
|
||||
name: Enforce terraform formatting
|
||||
entry: tofu
|
||||
language: system
|
||||
args:
|
||||
- "fmt"
|
||||
files: '.*\.(tfvars|tf)$'
|
Loading…
Reference in New Issue
Block a user