Skip to content

Commit 5bcf7a7

Browse files
committed
pre-commit setup.
1 parent 85b8509 commit 5bcf7a7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.pre-commit-config.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
exclude: json
2+
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: check-ast
8+
- id: check-docstring-first
9+
- id: check-json
10+
- id: check-toml
11+
- id: check-vcs-permalinks
12+
- id: check-yaml
13+
- id: debug-statements
14+
- id: end-of-file-fixer
15+
- id: trailing-whitespace
16+
- repo: https://github.com/timothycrosley/isort
17+
rev: 5.3.2
18+
hooks:
19+
- id: isort
20+
- repo: https://github.com/myint/docformatter
21+
rev: v1.3.1
22+
hooks:
23+
- id: docformatter
24+
args:
25+
- --in-place
26+
- --pre-summary-newline
27+
- --make-summary-multi-line

0 commit comments

Comments
 (0)