diff options
author | Henrik Kjellander <kjellander@webrtc.org> | 2017-09-15 11:19:10 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2017-09-15 09:22:50 +0000 |
commit | a18a3bf8d681d1ea27fdabc4e870acc9d81c5cb1 (patch) | |
tree | c8ebb59a72635288cdd3cfdea16740ac9f847cdb | |
parent | 5a6aa4f05df7ea853afe83e6264f2e992c6ebb2e (diff) | |
download | webrtc-a18a3bf8d681d1ea27fdabc4e870acc9d81c5cb1.tar.gz |
Fix Python shebang and license for presubmit_test.py
This was missed during review of https://codereview.webrtc.org/3010153002
Having python2 in the shebang makes it fail presubmit locally on Mac.
Disable 'invalid-name' PyLint rule in 3 places to pass presubmit.
NOTRY=True
NOTREECHECKS=True
TBR=charujain@webrtc.org
Bug: none
Change-Id: I85cc5783ba11774792cd8c2f6c0b4ff47ad89270
Reviewed-on: https://webrtc-review.googlesource.com/1566
Commit-Queue: Henrik Kjellander <kjellander@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#19850}
-rwxr-xr-x | presubmit_test.py | 12 | ||||
-rw-r--r-- | pylintrc | 1 |
2 files changed, 11 insertions, 2 deletions
diff --git a/presubmit_test.py b/presubmit_test.py index 2d0dc55c09..c88beaea19 100755 --- a/presubmit_test.py +++ b/presubmit_test.py @@ -1,4 +1,13 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python + +# Copyright 2017 The WebRTC project authors. All Rights Reserved. +# +# Use of this source code is governed by a BSD-style license +# that can be found in the LICENSE file in the root of the source +# tree. An additional intellectual property rights grant can be found +# in the file PATENTS. All contributing project authors may +# be found in the AUTHORS file in the root of the source tree. + import unittest import PRESUBMIT @@ -37,4 +46,3 @@ class CheckBugEntryField(unittest.TestCase): if __name__ == '__main__': unittest.main() - @@ -27,6 +27,7 @@ disable= exec-used, fixme, import-error, + invalid-name, missing-docstring, no-init, no-member, |