aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy
diff options
context:
space:
mode:
Diffstat (limited to 'python/tidy')
-rw-r--r--python/tidy/tidy.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/tidy/tidy.py b/python/tidy/tidy.py
index 4109e95786c..f312811456b 100644
--- a/python/tidy/tidy.py
+++ b/python/tidy/tidy.py
@@ -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)