aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-10-17 10:11:51 +0200
committerGravatar Matteo Bertucci <[email protected]>2021-10-17 10:11:51 +0200
commit992507b8965c1cc339c0c0a016ae9ca0a522d084 (patch)
treeb8d2c5a0a6720da7b2b2922704f1c155eaa095ff /.github
parentMerge branch 'main' into discord-2.0 (diff)
parentMerge pull request #1875 from python-discord/ks123/bugfix/reapply-infraction (diff)
Merge remote-tracking branch 'origin/main' into discord-2.0
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint-test.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/lint-test.yml b/.github/workflows/lint-test.yml
index 2f42f1895..f2c9dfb6c 100644
--- a/.github/workflows/lint-test.yml
+++ b/.github/workflows/lint-test.yml
@@ -81,12 +81,14 @@ jobs:
pip install poetry
poetry install
- # Check all the dependencies are compatible with the MIT license.
+ # Check all of our non-dev dependencies are compatible with the MIT license.
# If you added a new dependencies that is being rejected,
# please make sure it is compatible with the license for this project,
# and add it to the ALLOWED_LICENSE variable
- name: Check Dependencies License
- run: pip-licenses --allow-only="$ALLOWED_LICENSE"
+ run: |
+ pip-licenses --allow-only="$ALLOWED_LICENSE" \
+ --package $(poetry export -f requirements.txt --without-hashes | sed "s/==.*//g" | tr "\n" " ")
# This step caches our pre-commit environment. To make sure we
# do create a new environment when our pre-commit setup changes,