adopt pre-commit

This commit is contained in:
demberto 2022-05-08 21:41:58 +05:30
parent 57d07f7c6f
commit 454bf02b94
1 changed files with 7 additions and 0 deletions

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

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