mirror of
https://github.com/facebook/zstd.git
synced 2025-10-04 00:02:33 -04:00
Update test-license.py
This commit is contained in:
parent
36d5c2f326
commit
4c999cf968
@ -83,8 +83,8 @@ def valid_copyright(lines):
|
||||
continue
|
||||
if "present" in line:
|
||||
return (False, f"Copyright line '{line}' contains 'present'!")
|
||||
if "Facebook, Inc" not in line:
|
||||
return (False, f"Copyright line '{line}' does not contain 'Facebook, Inc'")
|
||||
if "Meta Platforms, Inc" not in line:
|
||||
return (False, f"Copyright line '{line}' does not contain 'Meta Platforms, Inc'")
|
||||
year = YEAR_REGEX.search(line)
|
||||
if year is not None:
|
||||
return (False, f"Copyright line '{line}' contains {year.group(0)}; it should be yearless")
|
||||
|
Loading…
x
Reference in New Issue
Block a user