add precommit hooks
This commit is contained in:
11
.pre-commit-config.yaml
Normal file
11
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v2.3.0
|
||||||
|
hooks:
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-yaml
|
||||||
|
exclude: '^.*\/templates\/.*$'
|
||||||
|
args:
|
||||||
|
- --multi
|
@@ -447,4 +447,3 @@ spec:
|
|||||||
key: /digital-ocean/home-infra/postgres-backups
|
key: /digital-ocean/home-infra/postgres-backups
|
||||||
metadataPolicy: None
|
metadataPolicy: None
|
||||||
property: secret
|
property: secret
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user