pre-commit: show diff on failure on CI (#1552)

* pre-commit: --show-diff-on-failure

* pre-commit: --show-diff-on-failure
This commit is contained in:
Hugo van Kemenade 2020-07-16 00:53:48 +03:00 committed by GitHub
parent 5010bb4279
commit 2955bdc676
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,4 +24,4 @@ jobs:
python -m pip install -e '.[d]'
- name: Lint
run: pre-commit run --all-files
run: pre-commit run --all-files --show-diff-on-failure

View File

@ -20,7 +20,7 @@ matrix:
- name: "lint"
python: 3.7
env:
- TEST_CMD="pre-commit run --all-files"
- TEST_CMD="pre-commit run --all-files --show-diff-on-failure"
- name: "3.6"
python: 3.6
- name: "3.7"