tox.ini 561 B

1234567891011121314151617181920212223242526272829
  1. # Copyright (c) 2017-2020 Richard Hull and contributors
  2. # See LICENSE.rst for details.
  3. [tox]
  4. envlist = py{36,37,38,39},qa,doc
  5. skip_missing_interpreters = True
  6. [testenv]
  7. usedevelop = true
  8. setenv =
  9. PYTHONDEVMODE=1
  10. commands =
  11. coverage erase
  12. python setup.py install
  13. pytest --cov=luma
  14. coverage html
  15. deps = .[test]
  16. [testenv:qa]
  17. commands =
  18. flake8
  19. rstcheck README.rst CHANGES.rst CONTRIBUTING.rst
  20. deps = .[qa]
  21. [testenv:doc]
  22. commands =
  23. sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
  24. changedir = doc
  25. deps = .[docs]