1[tox] 2envlist = py{26,27,34,35,36,37,38,py,py3},flake8,docs 3skip_missing_interpreters = True 4 5[testenv] 6deps = nose 7 coverage 8commands = nosetests 9setenv= 10 PYTHONWARNINGS=all 11 12[testenv:py26] 13basepython = python2.6 14usedevelop = True 15commands = nosetests --ignore-file="test_.*.py" 16 17[testenv:flake8] 18skip_install = true 19deps = flake8 20 flake8-author 21 flake8-blind-except 22 py{35,36,37,38}: flake8-bugbear 23 flake8-class-newline 24 flake8-commas 25 flake8-deprecated 26 flake8-docstrings 27 flake8-exact-pin 28 flake8-isort 29 flake8-print 30 flake8-quotes 31 flake8-tidy-imports 32 flake8-tuple 33 pep8-naming 34commands = flake8 stdnum tests update *.py 35 36[testenv:docs] 37deps = Sphinx 38commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W 39