diff --git a/htmlreport/cppcheck-htmlreport b/htmlreport/cppcheck-htmlreport index 5c0a78adfa4..ce5956c1e1b 100755 --- a/htmlreport/cppcheck-htmlreport +++ b/htmlreport/cppcheck-htmlreport @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import unicode_literals diff --git a/htmlreport/setup.py b/htmlreport/setup.py index e741ece55d8..ac790fbebc1 100755 --- a/htmlreport/setup.py +++ b/htmlreport/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from setuptools import setup diff --git a/htmlreport/test_htmlreport.py b/htmlreport/test_htmlreport.py index ffca77f298e..4fd6cf6c256 100755 --- a/htmlreport/test_htmlreport.py +++ b/htmlreport/test_htmlreport.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Test cppcheck-htmlreport.""" import os diff --git a/test/synthetic/report.py b/test/synthetic/report.py index e4d972102e9..17f58239f9e 100755 --- a/test/synthetic/report.py +++ b/test/synthetic/report.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import re diff --git a/tools/ci.py b/tools/ci.py index 6d2b8cfc471..27d0f871874 100644 --- a/tools/ci.py +++ b/tools/ci.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # continuous integration # build daily reports (doxygen,coverage,etc) diff --git a/tools/extracttests.py b/tools/extracttests.py index 2771314656e..42a80d6c051 100755 --- a/tools/extracttests.py +++ b/tools/extracttests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Cppcheck - A tool for static C/C++ code analysis # Copyright (C) 2007-2021 Cppcheck team. diff --git a/tools/listErrorsWithoutCWE.py b/tools/listErrorsWithoutCWE.py index 1a4c784c473..0a78ff5bd36 100755 --- a/tools/listErrorsWithoutCWE.py +++ b/tools/listErrorsWithoutCWE.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from __future__ import print_function import argparse import xml.etree.ElementTree as ET diff --git a/tools/matchcompiler.py b/tools/matchcompiler.py index b195f3816b4..2544366965a 100755 --- a/tools/matchcompiler.py +++ b/tools/matchcompiler.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Cppcheck - A tool for static C/C++ code analysis # Copyright (C) 2007-2021 Cppcheck team. diff --git a/tools/parse-glibc.py b/tools/parse-glibc.py index cb79edec812..6120e68ca0a 100644 --- a/tools/parse-glibc.py +++ b/tools/parse-glibc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import glob import os diff --git a/tools/reduce.py b/tools/reduce.py index ae4507e616d..595aaff18c8 100755 --- a/tools/reduce.py +++ b/tools/reduce.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import subprocess import sys import time diff --git a/tools/test_matchcompiler.py b/tools/test_matchcompiler.py index 82327fb8622..104601df7e3 100755 --- a/tools/test_matchcompiler.py +++ b/tools/test_matchcompiler.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Cppcheck - A tool for static C/C++ code analysis # Copyright (C) 2007-2021 Cppcheck team.