0

Add basic pre-commit rules

This commit is contained in:
Tulir Asokan
2023-11-10 23:42:13 +02:00
parent 96d7252d86
commit 6e9ad0d5a9
7 changed files with 13 additions and 6 deletions

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

@@ -0,0 +1,9 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude_types: [markdown]
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files