diff options
-rwxr-xr-x | pre-upload.py | 4 | ||||
-rwxr-xr-x | tools/pylint.py | 4 |
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( |