Convert to manual pre-commit
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
- id: check-illegal-windows-names
|
||||
- id: check-json
|
||||
- id: check-merge-conflict
|
||||
args:
|
||||
- "--assume-in-merge"
|
||||
- id: check-shebang-scripts-are-executable
|
||||
- id: check-symlinks
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
- id: fix-byte-order-marker
|
||||
- id: mixed-line-ending
|
||||
- id: trailing-whitespace
|
||||
- repo: https://github.com/adrienverge/yamllint.git
|
||||
rev: v1.37.1
|
||||
hooks:
|
||||
- id: yamllint
|
||||
args:
|
||||
- "-d"
|
||||
- |-
|
||||
extends: default
|
||||
ignore:
|
||||
- manifests/cnpg-system/barman-cloud.yaml
|
||||
rules:
|
||||
comments: false
|
||||
comments-indentation: false
|
||||
document-start: false
|
||||
- repo: https://github.com/NixOS/nixfmt
|
||||
rev: v1.1.0
|
||||
hooks:
|
||||
- id: nixfmt-nix
|
||||
- repo: https://github.com/astro/deadnix
|
||||
rev: v1.3.1
|
||||
hooks:
|
||||
- id: deadnix
|
||||
Reference in New Issue
Block a user