Travis: use TOXENV=linting for linting stage
This will run it with `--show-diff-on-failure` then, and helps to keep it in line / in a central place.
This commit is contained in:
parent
be4b359c74
commit
415fcb912b
|
@ -62,12 +62,7 @@ jobs:
|
|||
repo: pytest-dev/pytest
|
||||
- stage: linting
|
||||
python: '3.6'
|
||||
env:
|
||||
install:
|
||||
- pip install pre-commit
|
||||
- pre-commit install-hooks
|
||||
script:
|
||||
- pre-commit run --all-files
|
||||
env: TOXENV=linting
|
||||
|
||||
script: tox --recreate
|
||||
|
||||
|
|
Loading…
Reference in New Issue