Add Pre-commit Hook (#801)

This commit is contained in:
Amir Pourmand 2022-12-25 10:52:28 -08:00 committed by GitHub
parent 5e48424e58
commit 34eb856fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,10 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files