mirror of
https://github.com/mandiant/capa.git
synced 2025-12-17 18:07:47 -08:00
pre-commit: only run fast checks during commit
This commit is contained in:
@@ -79,7 +79,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: flake8
|
- id: flake8
|
||||||
name: flake8
|
name: flake8
|
||||||
stages: [commit, push]
|
stages: [push]
|
||||||
language: system
|
language: system
|
||||||
entry: flake8
|
entry: flake8
|
||||||
args:
|
args:
|
||||||
@@ -97,7 +97,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy
|
name: mypy
|
||||||
stages: [commit, push]
|
stages: [push]
|
||||||
language: system
|
language: system
|
||||||
entry: mypy
|
entry: mypy
|
||||||
args:
|
args:
|
||||||
@@ -114,7 +114,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: pytest-fast
|
- id: pytest-fast
|
||||||
name: pytest (fast)
|
name: pytest (fast)
|
||||||
stages: []
|
stages: [manual]
|
||||||
language: system
|
language: system
|
||||||
entry: pytest
|
entry: pytest
|
||||||
args:
|
args:
|
||||||
|
|||||||
Reference in New Issue
Block a user