diff options
author | Lukas Lihotzki <lukas@lihotzki.de> | 2025-03-26 13:12:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-26 12:12:44 +0000 |
commit | 251eeb2c2dee8aa91b69d7f451b1a1a7607a3bd1 (patch) | |
tree | 369165369cb932d19b88b9d7269bbec8a0f30432 /python/tidy | |
parent | f0ea3c6150ba4e2523ed07f7f3864cfa6c88772f (diff) | |
download | servo-251eeb2c2dee8aa91b69d7f451b1a1a7607a3bd1.tar.gz servo-251eeb2c2dee8aa91b69d7f451b1a1a7607a3bd1.zip |
Add `Path2D` (#35783)
Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
Diffstat (limited to 'python/tidy')
-rw-r--r-- | python/tidy/tidy.py | 3 |
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) |