aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-03-05 09:04:46 -0800
committerGravatar MarkKoz <[email protected]>2020-03-05 09:04:46 -0800
commit8769cfcfd85e2137992e1e34df214936b1ed9425 (patch)
tree2aba9138f7af806969ca4eb86ab5c9c871122eda
parentMerge pull request #643 from python-discord/zen-command (diff)
CI: don't show diff after pre-commit hooks
It's noisy, messy output. It's not of much benefit anyway as users can run git diff locally if they really need to see a diff. They have to do work locally anyway since CI won't commit the fixes pre-commit makes.
-rw-r--r--azure-pipelines.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 280f11a36..16d1b7a2a 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -47,7 +47,7 @@ jobs:
pre-commit | "$(PythonVersion.pythonLocation)"
path: $(PRE_COMMIT_HOME)
- - script: pre-commit run --all-files --show-diff-on-failure
+ - script: pre-commit run --all-files
displayName: 'Run pre-commit hooks'
- script: BOT_API_KEY=foo BOT_SENTRY_DSN=blah BOT_TOKEN=bar WOLFRAM_API_KEY=baz REDDIT_CLIENT_ID=spam REDDIT_SECRET=ham coverage run -m xmlrunner