aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Eivind Teig <[email protected]>2020-03-06 09:15:36 +0100
committerGravatar GitHub <[email protected]>2020-03-06 09:15:36 +0100
commit3cf0d564ea396710babd577780e06ec20e330957 (patch)
tree24bceb6d7b4800a8aa47afc3b187d12c51157704
parentMerge pull request #643 from python-discord/zen-command (diff)
parentRemove excludes from pre-commit (diff)
Merge pull request #820 from python-discord/feat/ci/pre-commit-tweaks
Pre-commit tweaks
-rw-r--r--.pre-commit-config.yaml1
-rw-r--r--azure-pipelines.yml2
2 files changed, 1 insertions, 2 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f369fb7d1..876d32b15 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,4 +1,3 @@
-exclude: ^\.cache/|\.venv/|\.git/|htmlcov/|logs/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
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