Compare commits
2 commits
86e1d59b1d
...
3efaceb823
Author | SHA1 | Date | |
---|---|---|---|
|
3efaceb823 | ||
|
56f66dcd6e |
2 changed files with 2 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
|
||||||
|
|
1
tests.sh
1
tests.sh
|
@ -66,6 +66,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run pre-commit
|
# Run pre-commit
|
||||||
|
RES=0
|
||||||
echo "Run pre-commit..."
|
echo "Run pre-commit..."
|
||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
[ $? -ne 0 ] && RES=1
|
[ $? -ne 0 ] && RES=1
|
||||||
|
|
Loading…
Reference in a new issue