aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-01-13 23:46:34 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-01-13 23:46:34 +0000
commit6743d36ed5540d84a7ad7e218e1d0062f25e9670 (patch)
tree64e8f08e32dd93460a2d7d185bc49d98403563fb
parentea6c7d7c9177be09d2386ae4adc319b62193b39c (diff)
parent5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 (diff)
downloadrepohooks-6743d36ed5540d84a7ad7e218e1d0062f25e9670.tar.gz
Snap for 7080740 from 5815ef836cf0f90a0f3ee7c4925cbe487d5d4e76 to mainline-neuralnetworks-release
Change-Id: Ie31c18c0b3f113b30c99bd14d2685b940cc83504
-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(