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:
parent
5010bb4279
commit
2955bdc676
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -24,4 +24,4 @@ jobs:
|
|||||||
python -m pip install -e '.[d]'
|
python -m pip install -e '.[d]'
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pre-commit run --all-files
|
run: pre-commit run --all-files --show-diff-on-failure
|
||||||
|
@ -20,7 +20,7 @@ matrix:
|
|||||||
- name: "lint"
|
- name: "lint"
|
||||||
python: 3.7
|
python: 3.7
|
||||||
env:
|
env:
|
||||||
- TEST_CMD="pre-commit run --all-files"
|
- TEST_CMD="pre-commit run --all-files --show-diff-on-failure"
|
||||||
- name: "3.6"
|
- name: "3.6"
|
||||||
python: 3.6
|
python: 3.6
|
||||||
- name: "3.7"
|
- name: "3.7"
|
||||||
|
Loading…
Reference in New Issue
Block a user