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}
This commit is contained in:
parent
5a6aa4f05d
commit
a18a3bf8d6
@ -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 unittest
|
||||||
|
|
||||||
import PRESUBMIT
|
import PRESUBMIT
|
||||||
@ -37,4 +46,3 @@ class CheckBugEntryField(unittest.TestCase):
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user