Skip to content

Commit 6fe7e5d

Browse files
author
David Rickett
committed
Add pre-commit hooks to repository
1 parent 671dfd0 commit 6fe7e5d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.pre-commit-config.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
repos:
3+
- repo: https://github.com/pycqa/pydocstyle
4+
rev: 6.3.0
5+
hooks:
6+
- id: pydocstyle
7+
- repo: https://github.com/pre-commit/pre-commit-hooks
8+
rev: v4.4.0
9+
hooks:
10+
- id: check-docstring-first
11+
- id: debug-statements
12+
- id: detect-private-key
13+
- id: end-of-file-fixer
14+
- id: name-tests-test
15+
- id: trailing-whitespace
16+
- repo: https://github.com/pre-commit/mirrors-mypy
17+
rev: v1.1.1
18+
hooks:
19+
- id: mypy
20+
- repo: https://github.com/psf/black
21+
rev: 23.1.0
22+
hooks:
23+
- id: black

0 commit comments

Comments
 (0)