add pre-commit config

This commit is contained in:
Alexander Yakovlev 2023-01-08 14:49:19 +07:00
parent 486326bced
commit c42e0b45f2
Signed by untrusted user: oreolek
GPG Key ID: 8D24103F5EE2A6C0
1 changed files with 7 additions and 0 deletions

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

@ -0,0 +1,7 @@
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
- id: check-ast