2022-01-12 20:09:14 +01:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
|
|
repos:
|
2024-02-21 14:54:23 +01:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-02-21 23:44:34 +01:00
|
|
|
rev: v4.5.0
|
2024-02-21 14:54:23 +01:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: check-yaml
|
|
|
|
- id: check-added-large-files
|
2024-02-21 23:28:35 +01:00
|
|
|
- repo: https://github.com/mfocko/pre-commit-hooks
|
2024-02-26 16:37:43 +01:00
|
|
|
rev: 1.1.0
|
2024-02-21 23:28:35 +01:00
|
|
|
hooks:
|
|
|
|
- id: rust-fmt
|
|
|
|
files: \.rs$
|
2024-02-21 23:44:34 +01:00
|
|
|
- id: clang-format
|
|
|
|
files: \.cpp$
|
2024-02-26 16:37:43 +01:00
|
|
|
- id: gofmt
|
|
|
|
files: \.go$
|
2024-03-02 20:59:59 +01:00
|
|
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
|
|
|
rev: v2.12.0
|
|
|
|
hooks:
|
|
|
|
- id: pretty-format-java
|
|
|
|
files: \.java$
|
|
|
|
args: [--autofix]
|
2024-02-22 16:51:33 +01:00
|
|
|
- repo: https://github.com/commitizen-tools/commitizen
|
|
|
|
rev: v3.15.0
|
|
|
|
hooks:
|
|
|
|
- id: commitizen
|
|
|
|
- id: commitizen-branch
|
|
|
|
stages:
|
|
|
|
- push
|