aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2020-07-15 00:51:48 -0400
committerMike Frysinger <vapier@google.com>2020-09-09 05:03:11 -0400
commit5be91ca1c2f1195f6123d5eda3228a5b9798478d (patch)
treef77cf3e74950fc563436e9afe7fbfb62b16af446
parent09cc9a71c6836e421a6d40f4df52d2ce5a66a496 (diff)
downloadrepohooks-5be91ca1c2f1195f6123d5eda3228a5b9798478d.tar.gz
tools: switch all our tools to python3 shebang
We did this for pylint already, so switch the rest too. Bug: None Test: running each tool with --help works Change-Id: I0c6156cbcfabf2ebb7874cbb8a52059b1a88dfcc
-rwxr-xr-xtools/android_test_mapping_format.py2
-rwxr-xr-xtools/clang-format.py2
-rwxr-xr-xtools/google-java-format.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/android_test_mapping_format.py b/tools/android_test_mapping_format.py
index 14b02f5..47e09c5 100755
--- a/tools/android_test_mapping_format.py
+++ b/tools/android_test_mapping_format.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright 2018 The Android Open Source Project
#
diff --git a/tools/clang-format.py b/tools/clang-format.py
index 7fa5b10..958f543 100755
--- a/tools/clang-format.py
+++ b/tools/clang-format.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright 2016 The Android Open Source Project
#
diff --git a/tools/google-java-format.py b/tools/google-java-format.py
index ed5ce28..5a537c0 100755
--- a/tools/google-java-format.py
+++ b/tools/google-java-format.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# Copyright 2016 The Android Open Source Project
#