# Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" # and then run "tox" from this directory. [tox] #envlist = py26, py27, py32, py33, py34, py35, pypy, jython envlist = py27, py36, py38, py310, py312 skip_missing_interpreters=true minversion = 2.4 [testenv] deps = pylint ; Note: `extras` requires tox >=2.4 extras = test py36: hangouts py38: hangouts zulip commands = python -m xmlrunner discover py36: python -m pylint --rcfile=pylintrc.ini chiron_bot py38: python -m pylint --rcfile=pylintrc.ini chiron_bot py310: python -m pylint --rcfile=pylintrc.ini chiron_bot py312: python -m pylint --rcfile=pylintrc.ini chiron_bot ; Only lint on Python 3 -- Python 2 pylint doesn't understand async/await and ; still has the bad-whitespace check, so the checks don't pass with Py2 pylint. ; We don't much care about Python 2 any more, so just skipping pylint entirely ; seems fine.