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}
diff --git a/presubmit_test.py b/presubmit_test.py
index 2d0dc55..c88beae 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 @@
if __name__ == '__main__':
unittest.main()
-
diff --git a/pylintrc b/pylintrc
index 6d40f78..083a79f 100644
--- a/pylintrc
+++ b/pylintrc
@@ -27,6 +27,7 @@
exec-used,
fixme,
import-error,
+ invalid-name,
missing-docstring,
no-init,
no-member,