pre-commit: only run fast checks during commit

This commit is contained in:
Willi Ballenthin
2023-10-19 10:35:57 +00:00
parent 288313a300
commit 1cb3ca61cd

View File

@@ -79,7 +79,7 @@ repos:
hooks:
- id: flake8
name: flake8
stages: [commit, push]
stages: [push]
language: system
entry: flake8
args:
@@ -97,7 +97,7 @@ repos:
hooks:
- id: mypy
name: mypy
stages: [commit, push]
stages: [push]
language: system
entry: mypy
args:
@@ -114,7 +114,7 @@ repos:
hooks:
- id: pytest-fast
name: pytest (fast)
stages: []
stages: [manual]
language: system
entry: pytest
args: