tox.ini 549 B

12345678910111213141516171819202122232425262728
  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. commands =
  10. py.test --cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end \
  11. tests []
  12. sh scripts/black
  13. flake8 .
  14. [testenv:black]
  15. basepython = python3.7
  16. commands =
  17. black --skip-string-normalization --line-length 100 .
  18. [testenv:end-to-end]
  19. deps = -rtest_requirements.txt
  20. commands =
  21. py.test tests/end-to-end []
  22. [flake8]
  23. ignore = E501,W503
  24. exclude = *.*/*