aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Shakya Majumdar <[email protected]>2022-02-21 09:40:33 +0530
committerGravatar Shakya Majumdar <[email protected]>2022-02-21 09:40:33 +0530
commitecf97bbd9aa2dc2f3159e148ef0831fc8c94e460 (patch)
tree9d1b7abcde18aa98e38abd9fd318fe0aea6cf501 /.github
parentdisallow setting infraction durations into the past (diff)
parentMerge pull request #2078 from python-discord/chris/fix/help-channel-errors (diff)
Merge remote-tracking branch 'upstream/main' into bug/infr-duration
# Conflicts: # bot/exts/moderation/infraction/_scheduler.py # bot/exts/moderation/infraction/management.py
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-test.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml
index f2c9dfb6c..57cc544d9 100644
--- a/.github/workflows/lint-test.yml
+++ b/.github/workflows/lint-test.yml
@@ -46,6 +46,10 @@ jobs:
PYTHONUSERBASE: ${{ github.workspace }}/.cache/py-user-base
PRE_COMMIT_HOME: ${{ github.workspace }}/.cache/pre-commit-cache
+ # See https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
+ # for why we set this.
+ SETUPTOOLS_USE_DISTUTILS: stdlib
+
steps:
- name: Add custom PYTHONUSERBASE to PATH
run: echo '${{ env.PYTHONUSERBASE }}/bin/' >> $GITHUB_PATH