add pre-commit config

This commit is contained in:
onyx-and-iris 2026-03-21 14:28:05 +00:00
parent 22cf1c817f
commit 0c5e1085cc

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

@ -0,0 +1,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace