chore: add pre-commit config
This commit is contained in:
parent
b9d8cd04d4
commit
83345289be
28 changed files with 40 additions and 28 deletions
17
.pre-commit-config.yaml
Normal file
17
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v3.2.0
|
||||||
|
hooks:
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-executables-have-shebangs
|
||||||
|
- id: check-json
|
||||||
|
- id: pretty-format-json
|
||||||
|
- id: check-merge-conflict
|
||||||
|
- id: check-symlinks
|
||||||
|
- id: check-yaml
|
||||||
|
args:
|
||||||
|
- --allow-multiple-documents
|
||||||
|
- id: detect-private-key
|
||||||
|
- id: trailing-whitespace
|
||||||
|
|
@ -4,4 +4,3 @@
|
||||||
get_url:
|
get_url:
|
||||||
url: https://get.k3s.io
|
url: https://get.k3s.io
|
||||||
dest: /tmp/k3s.install.sh
|
dest: /tmp/k3s.install.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,4 +17,3 @@ spec:
|
||||||
name: secrets-authentik
|
name: secrets-authentik
|
||||||
namespace: apps-fuku
|
namespace: apps-fuku
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,3 @@ spec:
|
||||||
name: secrets-dcsi
|
name: secrets-dcsi
|
||||||
namespace: democratic-csi
|
namespace: democratic-csi
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,4 +15,3 @@ spec:
|
||||||
name: secrets-factorio
|
name: secrets-factorio
|
||||||
namespace: apps-fuku
|
namespace: apps-fuku
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,4 +16,3 @@ spec:
|
||||||
creationTimestamp: null
|
creationTimestamp: null
|
||||||
name: miniflux
|
name: miniflux
|
||||||
namespace: apps-roboces
|
namespace: apps-roboces
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue