aboutsummaryrefslogtreecommitdiffstats
path: root/python/tidy/servo_tidy/licenseck.py
diff options
context:
space:
mode:
authorAskeing Yen (fyen) <askeing@gmail.com>2016-04-13 16:00:23 -0700
committeredunham <edunham@mozilla.com>2016-04-13 16:07:04 -0700
commitaf2ca1fa8076a5ab78f1162aaac819bb8e826ca3 (patch)
tree6342d11b329eb247c1a4580a57ae6f6ec86e77d9 /python/tidy/servo_tidy/licenseck.py
parent711bfe2860a308acc12a7c0437b9832d3d454c1f (diff)
downloadservo-af2ca1fa8076a5ab78f1162aaac819bb8e826ca3.tar.gz
servo-af2ca1fa8076a5ab78f1162aaac819bb8e826ca3.zip
Create a Python package of Tidy
Diffstat (limited to 'python/tidy/servo_tidy/licenseck.py')
-rw-r--r--python/tidy/servo_tidy/licenseck.py62
1 files changed, 62 insertions, 0 deletions
diff --git a/python/tidy/servo_tidy/licenseck.py b/python/tidy/servo_tidy/licenseck.py
new file mode 100644
index 00000000000..705faf8bcb6
--- /dev/null
+++ b/python/tidy/servo_tidy/licenseck.py
@@ -0,0 +1,62 @@
+# Copyright 2013 The Servo Project Developers. See the COPYRIGHT
+# file at the top-level directory of this distribution.
+#
+# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+# option. This file may not be copied, modified, or distributed
+# except according to those terms.
+
+
+# These licenses are valid for use in Servo
+licenses = [
+
+"""\
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+""",
+
+"""\
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+""",
+
+"""\
+#!/usr/bin/env python
+
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+""",
+
+"""\
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+""",
+
+"""\
+// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+""",
+
+"""\
+# Copyright 2013 The Servo Project Developers. See the COPYRIGHT
+# file at the top-level directory of this distribution.
+#
+# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+# option. This file may not be copied, modified, or distributed
+# except according to those terms.
+""",
+
+] # noqa: Indicate to flake8 that we do not want to check indentation here