diff options
author | Max Moroz <mmoroz@chromium.org> | 2020-01-15 09:33:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 09:33:39 -0800 |
commit | b5abd91f2009cc6fe752d9aab89f84ff7a22d5d2 (patch) | |
tree | 24c6a318837b168617d526648683c69b6df21744 /infra/presubmit.py | |
parent | d2330b29a6d35e3fcc47a0f008dad413f6e45784 (diff) | |
download | oss-fuzz-b5abd91f2009cc6fe752d9aab89f84ff7a22d5d2.tar.gz |
[infra] Presubmit: remove license check for all .yaml files. (#3235)
Diffstat (limited to 'infra/presubmit.py')
-rwxr-xr-x | infra/presubmit.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/infra/presubmit.py b/infra/presubmit.py index 05b514faf..8d1b60a51 100755 --- a/infra/presubmit.py +++ b/infra/presubmit.py @@ -199,9 +199,8 @@ _CHECK_LICENSE_EXTENSIONS = [ '.proto', '.py', '.sh', - '.yaml', ] -_CHECK_LICENSE_EXCLUSIONS = ['project.yaml'] + _LICENSE_STRING = 'http://www.apache.org/licenses/LICENSE-2.0' @@ -213,9 +212,6 @@ def check_license(paths): success = True for path in paths: filename = os.path.basename(path) - if filename in _CHECK_LICENSE_EXCLUSIONS: - continue - extension = os.path.splitext(path)[1] if (filename not in _CHECK_LICENSE_FILENAMES and extension not in _CHECK_LICENSE_EXTENSIONS): |