From 2955bdc6767d942cd489c73bd3bf600303d524c5 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 16 Jul 2020 00:53:48 +0300 Subject: [PATCH] pre-commit: show diff on failure on CI (#1552) * pre-commit: --show-diff-on-failure * pre-commit: --show-diff-on-failure --- .github/workflows/lint.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cb8c534..fa7286e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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 diff --git a/.travis.yml b/.travis.yml index b2b127c..86cf24d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" -- 2.39.5