chore: add pre-commit config

This commit is contained in:
cătălin 2024-02-12 17:31:17 +01:00
commit 83345289be
Signed by untrusted user: catalin
GPG key ID: 0178DF42F43E5FD2
28 changed files with 40 additions and 28 deletions

17
.pre-commit-config.yaml Normal file
View 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

View file

@ -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

View file

@ -17,4 +17,3 @@ spec:
name: secrets-authentik name: secrets-authentik
namespace: apps-fuku namespace: apps-fuku
type: Opaque type: Opaque

View file

@ -13,4 +13,3 @@ spec:
name: secrets-dcsi name: secrets-dcsi
namespace: democratic-csi namespace: democratic-csi
type: Opaque type: Opaque

View file

@ -15,4 +15,3 @@ spec:
name: secrets-factorio name: secrets-factorio
namespace: apps-fuku namespace: apps-fuku
type: Opaque type: Opaque

View file

@ -16,4 +16,3 @@ spec:
creationTimestamp: null creationTimestamp: null
name: miniflux name: miniflux
namespace: apps-roboces namespace: apps-roboces