aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy/licenseck.py
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2016-07-14 11:24:29 -0500
committerAlan Jeffrey <ajeffrey@mozilla.com>2016-07-14 11:24:29 -0500
commit9fa54af34794df663d02634860b8a6586f47f81b (patch)
treeffaa63d74fb688e69217ad1992e14c6b8357ef6a /python/tidy/servo_tidy/licenseck.py
parent62e95c5a6192df4ecc8fd17a25200bb2188795d5 (diff)
downloadservo-9fa54af34794df663d02634860b8a6586f47f81b.tar.gz
servo-9fa54af34794df663d02634860b8a6586f47f81b.zip
Allow MIT/Apache-2.0 license as well as MPL-2.0.
Diffstat (limited to 'python/tidy/servo_tidy/licenseck.py')
-rw-r--r--python/tidy/servo_tidy/licenseck.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy/licenseck.py b/python/tidy/servo_tidy/licenseck.py
index ce5fdee075d..40bdfb8e5d8 100644
--- a/python/tidy/servo_tidy/licenseck.py
+++ b/python/tidy/servo_tidy/licenseck.py
@@ -82,3 +82,9 @@ licenses = [
// except according to those terms.
""",
] # noqa: Indicate to flake8 that we do not want to check indentation here
+
+# The valid licenses, in the form we'd expect to see them in a Cargo.toml file.
+licenses_toml = [
+ 'license = "MPL-2.0"',
+ 'license = "MIT/Apache-2.0"',
+]