tox.ini 503 B

1234567891011121314151617181920212223242526
  1. [tox]
  2. envlist = py3
  3. skipsdist = True
  4. minversion = 3.10.0
  5. [testenv]
  6. usedevelop = True
  7. deps = -rtest_requirements.txt
  8. whitelist_externals = sh
  9. install_command =
  10. # temporary work around for https://github.com/pypa/pip/issues/6434
  11. python -m pip install --no-use-pep517 {opts} {packages}
  12. commands =
  13. pytest
  14. sh scripts/black
  15. flake8 .
  16. [testenv:black]
  17. basepython = python3.7
  18. commands =
  19. black .
  20. [testenv:end-to-end]
  21. deps = -rtest_requirements.txt
  22. commands =
  23. pytest tests/end-to-end