2022-04-24 14:44:14 +02:00
|
|
|
# See https://pre-commit.com for more information
|
|
|
|
repos:
|
2024-06-16 05:00:49 +02:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
2024-06-16 05:50:56 +02:00
|
|
|
rev: v4.6.0
|
2024-06-16 05:00:49 +02:00
|
|
|
hooks:
|
|
|
|
- id: trailing-whitespace
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
- id: fix-byte-order-marker
|
|
|
|
- id: mixed-line-ending
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- id: check-case-conflict
|
2022-04-24 14:44:14 +02:00
|
|
|
|
2024-06-16 05:00:49 +02:00
|
|
|
- repo: https://github.com/Lucas-C/pre-commit-hooks
|
2024-06-16 05:50:56 +02:00
|
|
|
rev: v1.5.5
|
2024-06-16 05:00:49 +02:00
|
|
|
hooks:
|
|
|
|
- id: remove-crlf
|
|
|
|
- id: remove-tabs
|
|
|
|
|
|
|
|
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
|
|
|
|
rev: v2.13.0
|
|
|
|
hooks:
|
|
|
|
- id: pretty-format-yaml
|
|
|
|
args: [--autofix]
|
|
|
|
- id: pretty-format-toml
|
|
|
|
args: [--autofix]
|
2024-06-16 05:50:56 +02:00
|
|
|
|
|
|
|
- repo: https://github.com/pocc/pre-commit-hooks
|
|
|
|
rev: v1.3.5
|
|
|
|
hooks:
|
|
|
|
- id: clang-format
|
|
|
|
args: [-i, --style=file]
|