Skip to content

Commit 4be9642

Browse files
include pre-commit settings
1 parent b03c78d commit 4be9642

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.pre-commit-config.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v2.4.0
4+
hooks:
5+
- id: flake8
6+
- repo: https://github.com/ambv/black
7+
rev: stable
8+
hooks:
9+
- id: black
10+
language_version: python3.7
11+
- repo: local
12+
hooks:
13+
- id: unittest
14+
name: unittest
15+
language: system
16+
entry: python -m unittest discover ./tests
17+
types: [python]
18+
pass_filenames: true

0 commit comments

Comments
 (0)