diff options
| author | 2021-08-25 16:35:45 +0200 | |
|---|---|---|
| committer | 2021-08-25 16:38:53 +0200 | |
| commit | b3b9d3fb15f8909067be4bd8aedf1d17e51f7968 (patch) | |
| tree | db57fe9bf2e105c99837b7163a4c9f7ca5c580d7 /pyproject.toml | |
| parent | Merge pull request #1777 from python-discord/mbaruh-patch-1 (diff) | |
CI: check for dependency licenses
Since our project is licensed under the MIT License, we can't be using any dependencies in our project. This commit adds a step to the CI lint phase that will use pip-licenses to verify that all the installed packages are part of an ALLOWED_LICENSE variable. This variable is currently set to be every license we currently use. We opted to use an allowlist instead of a denylist to make sure that new licenses are reviewed by hand and added to that variable.
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml index 2ae79f9e4..865fa1d3f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ flake8-todo = "~=0.7" pep8-naming = "~=0.9" pre-commit = "~=2.1" taskipy = "~=1.7.0" +pip-licenses = "~=3.5.1" python-dotenv = "~=0.17.1" pytest = "~=6.2.4" pytest-cov = "~=2.12.1" |