tox.ini 540 B

12345678910111213141516171819202122232425262728293031
  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. sh scripts/pip {opts} {packages}
  11. commands =
  12. pytest
  13. sh scripts/black
  14. sh scripts/isort
  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
  24. [testenv:isort]
  25. deps = {[testenv]deps}
  26. commands =
  27. isort {posargs:--recursive} --settings-path setup.cfg .