Skip to content

Commit d270752

Browse files
committed
Add pre-commit config
1 parent 1760c02 commit d270752

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
fail_fast: false
4+
repos:
5+
- repo: https://github.com/pre-commit/pre-commit-hooks
6+
rev: v4.4.0
7+
hooks:
8+
- id: trailing-whitespace
9+
- id: end-of-file-fixer
10+
- id: check-yaml
11+
- id: check-added-large-files
12+
- id: check-executables-have-shebangs
13+
- id: check-merge-conflict
14+
- id: check-toml
15+
- id: check-xml
16+
- id: debug-statements
17+
- id: detect-private-key
18+
- id: fix-byte-order-marker

0 commit comments

Comments
 (0)