diff options
author | 2021-09-06 19:49:41 +0200 | |
---|---|---|
committer | 2021-09-06 17:49:41 +0000 | |
commit | 2b3b38c3974dd5a59873335313cbfa3a77991070 (patch) | |
tree | ec643372e9228ed920cae3a3e443e55459af6c18 /bot | |
parent | Merge pull request #850 from Numerlor/async-redisache-logs (diff) |
CI: check license compatibility (#855)
* CI: check for license compatibility
Port of https://github.com/python-discord/bot/pull/1779
---
Since our project is licensed under the MIT License, we can't be using any incompatible license-wise dependencies in our project, such as GPL.
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.
Co-authored-by: ChrisJL <[email protected]>
Co-authored-by: Xithrius <[email protected]>
Co-authored-by: Vivaan Verma <[email protected]>
Diffstat (limited to 'bot')
0 files changed, 0 insertions, 0 deletions