1[tox] 2envlist = check-manifest,docs,doctest,flake8,py 3 4[testenv] 5deps = 6 pytest 7 pytest-cov 8commands = 9 py.test --basetemp={envtmpdir} --cov=cachetools {posargs} 10 11[testenv:check-manifest] 12deps = 13 check-manifest==0.44; python_version < "3.8" 14 check-manifest; python_version >= "3.8" 15commands = 16 check-manifest 17skip_install = true 18 19[testenv:docs] 20deps = 21 sphinx 22commands = 23 sphinx-build -W -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html 24 25[testenv:doctest] 26deps = 27 sphinx 28commands = 29 sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs {envtmpdir}/doctest 30 31[testenv:flake8] 32deps = 33 flake8 34 flake8-black; implementation_name == "cpython" 35 flake8-bugbear 36 flake8-import-order 37commands = 38 flake8 39skip_install = true 40