Skip to content

Commit 04dfa03

Browse files
committed
feature: pytest and git lint in pre-commit hook
1 parent 0fb5956 commit 04dfa03

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,12 @@ repos:
1515
name: black (python code formatter)
1616
language: system
1717
types: [python]
18+
19+
- repo: local
20+
hooks:
21+
- id: pytest
22+
name: pytest (run tests)
23+
entry: pytest -v --maxfail=1 --disable-warnings
24+
language: system
25+
types: [python]
26+

0 commit comments

Comments
 (0)