Integrate trusted-host configuration
# Conflicts: # Cargo.lock # Cargo.toml # tools/lazaret_verify.py
This commit is contained in:
commit
0716bab960
1 changed files with 4099 additions and 142 deletions
|
|
@ -349,6 +349,7 @@ def audit_dependencies(metadata: dict) -> None:
|
|||
|
||||
|
||||
def license_permitted(expression: str, allowed: set[str]) -> bool:
|
||||
expression = re.sub(r"\s+WITH\s+[A-Za-z0-9.-]+", "", expression)
|
||||
return bool(expression) and any(
|
||||
all(
|
||||
term.strip(" ()") in allowed
|
||||
|
|
|
|||
Loading…
Reference in a new issue