diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini index 31bcc9cdb572..7cfca4d543a7 100644 --- a/sdks/python/tox.ini +++ b/sdks/python/tox.ini @@ -17,7 +17,7 @@ [tox] # new environments will be excluded by default unless explicitly added to envlist. -envlist = py27,py27gcp,py27cython,lint,docs +envlist = py27,py27gcp,py27cython,py36,lint,docs toxworkdir = {toxinidir}/target/.tox [pycodestyle] @@ -90,6 +90,15 @@ commands = python setup.py test passenv = TRAVIS* +[testenv:py36] +deps = + flake8==3.5.0 +commands = + python --version + pip --version + flake8 . --count --exit-zero --select=E901,E999,F821,F822,F823 --show-source --statistics +passenv = TRAVIS* + [testenv:lint] deps= nose==1.3.7