aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.pre-commit-config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 511cdae..e38b37f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,3 +18,10 @@ repos:
hooks:
- id: mypy
args: [-s]
+- repo: local
+ hooks:
+ - id: tests
+ language: system
+ name: Run pytest.
+ files: ".*\\.py$"
+ entry: bash -c "pytest"