add fingerprint for MPL-2 license; accommodate 0BSD/ISC ambiguity

This commit is contained in:
riscy 2023-10-07 13:12:45 -07:00
parent 87662dce1b
commit 4888ad9a4f

View file

@ -456,8 +456,9 @@ def _check_file_for_license_boilerplate(el_file: TextIO) -> Optional[str]:
'BSD*': 'Redistribution and use in source and binary forms',
'FSFAP': 'Copying and distribution of this file, with or without',
'GPL*': 'is free software.* you can redistribute it',
'ISC License': 'Permission to use, copy, modify, and/or distribute this',
'0BSD/ISC License': 'Permission to use, copy, modify, and/or distribute this',
'MIT License': 'Permission is hereby granted, free of charge, to any person',
'MPL-2': 'This source code form is subject to the terms of the Mozilla',
'The Unlicense': 'This is free and unencumbered software released into',
}
for license_key, license_text in gpl_compatible_license_excerpts.items():