From eddb0efee20eb02fcc336fbf11b20995d6a850e4 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Wed, 24 Jan 2024 17:30:30 -0600 Subject: [PATCH] Use a consistent Python interpreter in all scripts (#406) There are three Python scripts checked into this repository. Two currently use the unversioned `python` executable, while the other one specifically uses `python3`. For the sake of consistency and reproducibility, this changes the two ambiguous scripts to use `python3` like the third. Signed-off-by: Scott K Logan Co-authored-by: Addisu Z. Taddese --- codecheck/cpplint.py | 2 +- tools/check_test_ran.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 codecheck/cpplint.py diff --git a/codecheck/cpplint.py b/codecheck/cpplint.py old mode 100644 new mode 100755 index a080437d..d9c6010a --- a/codecheck/cpplint.py +++ b/codecheck/cpplint.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2009 Google Inc. All rights reserved. # diff --git a/tools/check_test_ran.py b/tools/check_test_ran.py index f5eac476..160b4b17 100755 --- a/tools/check_test_ran.py +++ b/tools/check_test_ran.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc.