Run pytest only when at least one python file is changed
This commit is contained in:
parent
86e1d59b1d
commit
56f66dcd6e
1 changed files with 1 additions and 1 deletions
|
@ -7,8 +7,8 @@ repos:
|
||||||
name: pytest
|
name: pytest
|
||||||
entry: python3 -m pytest tests
|
entry: python3 -m pytest tests
|
||||||
language: system
|
language: system
|
||||||
|
types: [python]
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
always_run: true
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: pylint
|
- id: pylint
|
||||||
|
|
Loading…
Reference in a new issue