Add precommit

This commit is contained in:
Ethan Paul 2022-03-29 18:40:28 -04:00
parent 17d22dcc05
commit 273482b745
No known key found for this signature in database
GPG Key ID: 6A337337DF6B5B1A
1 changed files with 16 additions and 0 deletions

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

@ -0,0 +1,16 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: end-of-file-fixer
types:
- text
- id: trailing-whitespace
types:
- text
- id: check-merge-conflict
types:
- text