aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-05-17 15:30:56 +0100
committerEric Kunze <eric.kunze@arm.com>2022-07-11 23:16:58 +0000
commit6c6467f3f07687f0eebd049f1fa3ce21c516f184 (patch)
tree457f017175e309a6ee5b39f208aee7ef549001d6 /.pre-commit-config.yaml
parent750d27da447205ce82056d8b6b473e7a6ec051c6 (diff)
downloadreference_model-6c6467f3f07687f0eebd049f1fa3ce21c516f184.tar.gz
Enable pytest pre-commit
Change-Id: Ia00a9fa0d260c68ce8532dec9925467558fe7dea Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 1658ca9..f2ccc3f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,3 +18,13 @@ repos:
rev: 4.0.1
hooks:
- id: flake8
+
+- repo: local
+ hooks:
+ - id: pytest
+ name: pytest
+ stages: [commit]
+ language: system
+ entry: pytest
+ types: [python]
+ pass_filenames: false