Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
exclude: /secrets
- id: check-added-large-files
- id: check-yaml
args:
- --allow-multiple-documents
exclude: /templates|/secrets|helmfile.yaml
- id: check-json
- id: check-toml
- id: check-shebang-scripts-are-executable
exclude: .+\.j2$

- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.4.0
hooks:
- id: conventional-pre-commit

- repo: local
hooks:
- id: cargo-fmt
name: cargo fmt
entry: cargo fmt
language: system
pass_filenames: false
types: [rust]

- id: cargo-clippy
name: cargo clippy
entry: cargo clippy -- -D warnings
language: system
pass_filenames: false
types: [rust]
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,3 @@ All notable changes to this project will be documented in this file.

- Exit without returning a project upon user abort
- Configure Github actions; Generate CHANGELOG.md

Loading