mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
pre-commit: only run fast checks during commit
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user