hook: Add pre-commit.com config to repo

This commit is contained in:
ch 2023-10-18 11:00:39 +02:00
parent bb23b79407
commit 65a89551b4
1 changed files with 13 additions and 0 deletions

13
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,13 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
#
# To skip hooks on single commit, use --no-verify
#
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files