Add Path2D (#35783)

Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
This commit is contained in:
Lukas Lihotzki 2025-03-26 13:12:44 +01:00 committed by GitHub
parent f0ea3c6150
commit 251eeb2c2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 1566 additions and 262 deletions

View file

@ -215,6 +215,9 @@ def uncomment(line):
def is_apache_licensed(header):
if "SPDX-License-Identifier: Apache-2.0 OR MIT" in header:
return True
if APACHE in header:
return any(c in header for c in COPYRIGHT)