diff options
author | 2020-03-06 09:15:36 +0100 | |
---|---|---|
committer | 2020-03-06 09:15:36 +0100 | |
commit | 3cf0d564ea396710babd577780e06ec20e330957 (patch) | |
tree | 24bceb6d7b4800a8aa47afc3b187d12c51157704 | |
parent | Merge pull request #643 from python-discord/zen-command (diff) | |
parent | Remove 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.yaml | 1 | ||||
-rw-r--r-- | azure-pipelines.yml | 2 |
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 |