summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2016-12-23 14:35:55 -0500
committerBen Gamari <ben@smart-cactus.org>2016-12-23 16:44:47 -0500
commit46a195f4433876f2c6bafeb35a8ec2ed617da396 (patch)
tree184ad8a3e80ac40bd1da6a617b86f2646847ea50
parent158530a5450b27eb5ae2d75b7895fd1662dde13b (diff)
downloadhaskell-46a195f4433876f2c6bafeb35a8ec2ed617da396.tar.gz
Use python3 for linters
We now require python3 for the testsuite so rather than require two versions of python it makes sense to use python3 for the linters as well. Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2888
-rwxr-xr-x.arc-linters/check-binaries.py2
-rwxr-xr-x.arc-linters/check-cpp.py2
-rw-r--r--.arc-linters/check-makefiles.py2
-rw-r--r--.arclint6
4 files changed, 6 insertions, 6 deletions
diff --git a/.arc-linters/check-binaries.py b/.arc-linters/check-binaries.py
index 85227eaa4e..017b89bff0 100755
--- a/.arc-linters/check-binaries.py
+++ b/.arc-linters/check-binaries.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# A linter to warn when binary files are added to the repository
diff --git a/.arc-linters/check-cpp.py b/.arc-linters/check-cpp.py
index f9d0552b00..7abbc31219 100755
--- a/.arc-linters/check-cpp.py
+++ b/.arc-linters/check-cpp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# A linter to warn for ASSERT macros which are separated from their argument
# list by a space, which Clang's CPP barfs on
diff --git a/.arc-linters/check-makefiles.py b/.arc-linters/check-makefiles.py
index 7080954477..4778b2d51a 100644
--- a/.arc-linters/check-makefiles.py
+++ b/.arc-linters/check-makefiles.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Warn for use of `--interactive` inside Makefiles (#11468).
#
diff --git a/.arclint b/.arclint
index 7eaced6b35..95355e2898 100644
--- a/.arclint
+++ b/.arclint
@@ -71,17 +71,17 @@
},
"check-binaries": {
"type": "external-json",
- "external-json.script": "python .arc-linters/check-binaries.py"
+ "external-json.script": "python3 .arc-linters/check-binaries.py"
},
"check-makefiles": {
"type": "external-json",
"include": ["(Makefile$)"],
- "external-json.script": "python .arc-linters/check-makefiles.py"
+ "external-json.script": "python3 .arc-linters/check-makefiles.py"
},
"bad-assert-clang-cpp": {
"type": "external-json",
"include": ["(\\.(l?hs|x|y\\.pp)(\\.in)?$)", "(\\.(c|h)$)"],
- "external-json.script": "python .arc-linters/check-cpp.py"
+ "external-json.script": "python3 .arc-linters/check-cpp.py"
}
},