Skip to content

Commit

Permalink
Merge pull request #1462 from ph0b/patch-2
Browse files Browse the repository at this point in the history
increase search characters limit for license verification
  • Loading branch information
pbalcer committed Apr 4, 2024
2 parents 3609afc + a145058 commit b915354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/verify_license.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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

Expand Down

0 comments on commit b915354

Please sign in to comment.