Commit 5928da9
Changed files (1)
.pre-commit-config.yaml
@@ -1,7 +1,7 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.5.0
+ rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -12,7 +12,7 @@ repos:
- id: check-json
- id: check-shebang-scripts-are-executable
- id: check-toml
-# - id: detect-private-key
+ - id: detect-private-key
- id: fix-byte-order-marker
- id: mixed-line-ending
# ----------------------- OPS -----------------------
@@ -21,7 +21,8 @@ repos:
hooks:
- id: yamlfmt
args: [--mapping, "2", --sequence, "4", --offset, "2", --width, "150", --preserve-quotes]
- exclude: ^.github/dependabot.yml
+ exclude: ^.github/dependabot.yaml
+# exclude: (sops\.yaml)$
# ----------------------- GOLANG -----------------------
- repo: https://github.com/dnephin/pre-commit-golang
rev: v0.5.1
@@ -32,6 +33,6 @@ repos:
# - id: no-go-testing
- id: golangci-lint
# - id: go-critic
-# - id: go-unit-tests
+ # - id: go-unit-tests
- id: go-build
- id: go-mod-tidy