mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Check license headers in ./tests
This commit is contained in:
parent
3b1cfe8458
commit
2a6f2cde50
2 changed files with 10 additions and 2 deletions
|
@ -23,6 +23,14 @@ licenses = [
|
|||
# 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
|
||||
|
|
|
@ -14,7 +14,7 @@ import fnmatch
|
|||
import itertools
|
||||
from licenseck import licenses
|
||||
|
||||
directories_to_check = ["ports", "components"]
|
||||
directories_to_check = ["ports", "components", "tests"]
|
||||
filetypes_to_check = [".rs", ".rc", ".cpp", ".c", ".h", ".py"]
|
||||
reftest_directories = ["tests/ref"]
|
||||
reftest_filetype = ".list"
|
||||
|
@ -22,7 +22,7 @@ reftest_filetype = ".list"
|
|||
ignored_files = [
|
||||
# Upstream
|
||||
"support/*",
|
||||
"tests/wpt/web-platform-tests/*",
|
||||
"tests/wpt/*",
|
||||
|
||||
# Generated and upstream code combined with our own. Could use cleanup
|
||||
"components/script/dom/bindings/codegen/*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue