aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2021-01-06 01:51:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-01-06 01:51:26 +0000
commit5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 (patch)
tree64e8f08e32dd93460a2d7d185bc49d98403563fb
parentea6c7d7c9177be09d2386ae4adc319b62193b39c (diff)
parent2729e11af0482bc00c1eeddc4fe6348290a1867d (diff)
downloadrepohooks-5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76.tar.gz
pre-upload/pylint: drop support for Python 3.5 am: 2729e11af0
Original change: https://android-review.googlesource.com/c/platform/tools/repohooks/+/1373920 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8be1bd9e133bad65c2cf6a55ae3b60ef141d3200
-rwxr-xr-xpre-upload.py4
-rwxr-xr-xtools/pylint.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/pre-upload.py b/pre-upload.py
index 0e032f4..7eb11b8 100755
--- a/pre-upload.py
+++ b/pre-upload.py
@@ -26,8 +26,8 @@ import sys
# Assert some minimum Python versions as we don't test or support any others.
-if sys.version_info < (3, 5):
- print('repohooks: error: Python-3.5+ is required', file=sys.stderr)
+if sys.version_info < (3, 6):
+ print('repohooks: error: Python-3.6+ is required', file=sys.stderr)
sys.exit(1)
diff --git a/tools/pylint.py b/tools/pylint.py
index 60f4b67..570f055 100755
--- a/tools/pylint.py
+++ b/tools/pylint.py
@@ -23,8 +23,8 @@ import sys
import subprocess
-assert (sys.version_info.major, sys.version_info.minor) >= (3, 5), (
- 'Python 3.5 or newer is required; found %s' % (sys.version,))
+assert (sys.version_info.major, sys.version_info.minor) >= (3, 6), (
+ 'Python 3.6 or newer is required; found %s' % (sys.version,))
DEFAULT_PYLINTRC_PATH = os.path.join(