mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-26 00:22:10 +03:00
Forbid dependencies that have GPL* licenses.
This commit is contained in:
parent
65350a71bb
commit
18d66a1971
@ -18,7 +18,7 @@ def is_authorized(license: str) -> bool:
|
||||
|
||||
|
||||
def is_forbidden(license: str) -> bool:
|
||||
for l in ["GNU"]:
|
||||
for l in ["GPL"]:
|
||||
if l in license:
|
||||
return True
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user