Add precommit
This commit is contained in:
parent
17d22dcc05
commit
273482b745
16
.pre-commit-config.yaml
Normal file
16
.pre-commit-config.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user