Skip to content

Commit 17eea60

Browse files
committed
Add precommit hook
1 parent 8ad2bcf commit 17eea60

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: 'v4.3.0'
4+
hooks:
5+
- id: check-merge-conflict
6+
- id: mixed-line-ending
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- repo: https://github.com/ambv/black
10+
rev: 22.12.0
11+
hooks:
12+
- id: black
13+
- repo: https://github.com/codespell-project/codespell
14+
rev: v2.4.1
15+
hooks:
16+
- id: codespell
17+
- repo: https://github.com/tox-dev/tox-ini-fmt
18+
rev: 1.3.1
19+
hooks:
20+
- id: tox-ini-fmt

0 commit comments

Comments
 (0)