[meld/precommit] Show diff on pre-commit hook failure
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld/precommit] Show diff on pre-commit hook failure
- Date: Sat, 5 Oct 2019 22:15:48 +0000 (UTC)
commit d25b6f3f6e2cc3ab8a72b783d91fc7791bf8604d
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sun Oct 6 08:15:27 2019 +1000
Show diff on pre-commit hook failure
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cf006590..affcf7dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,7 +24,7 @@ lint:
script:
- dnf install -y git
- pip3 install -r dev-requirements.txt
- - pre-commit run --all-files
+ - pre-commit run --all-files --show-diff-on-failure
allow_failure: true
<<: *linux-common
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]