Skip to content

Commit b915354

Browse files
authored
Merge pull request #1462 from ph0b/patch-2
increase search characters limit for license verification
2 parents 3609afc + a145058 commit b915354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/verify_license.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
def verify_file_has_license(file):
1414
with open(file, 'r') as in_file:
15-
contents = in_file.read(300)
15+
contents = in_file.read(400)
1616
if "SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception" not in contents:
1717
raise Exception(f"{file} does not contain a license!")
1818

0 commit comments

Comments
 (0)