pre-commit: add initial configuration

This commit is contained in:
Fernando Schauenburg 2024-07-14 12:44:22 +02:00
parent 8a5478ad4c
commit 564e26df7f

11
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,11 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: trailing-whitespace