Skip to content

Commit 86f9717

Browse files
committed
Add a pre-commit config.
1 parent 9c2c3a6 commit 86f9717

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.pre-commit-config.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.3.0
4+
hooks:
5+
- id: check-ast
6+
- id: check-docstring-first
7+
- id: check-json
8+
- id: check-toml
9+
- id: check-vcs-permalinks
10+
- id: check-yaml
11+
- id: debug-statements
12+
- id: end-of-file-fixer
13+
- id: mixed-line-ending
14+
args: [--fix, lf]
15+
- id: trailing-whitespace
16+
- repo: https://github.com/PyCQA/isort
17+
rev: 5.10.1
18+
hooks:
19+
- id: isort

0 commit comments

Comments
 (0)