tox.ini 549 B

1234567891011121314151617181920212223242526
  1. [tox]
  2. envlist = py3
  3. skipsdist = True
  4. [testenv]
  5. usedevelop = True
  6. deps = -rtest_requirements.txt
  7. commands =
  8. py.test --cov-report term-missing:skip-covered --cov=borgmatic --ignore=tests/end-to-end \
  9. tests []
  10. black --skip-string-normalization --line-length 100 --check .
  11. flake8 .
  12. [testenv:black]
  13. basepython = python3.7
  14. commands =
  15. black --skip-string-normalization --line-length 100 .
  16. [testenv:end-to-end]
  17. deps = -rtest_requirements.txt
  18. commands =
  19. py.test tests/end-to-end []
  20. [flake8]
  21. ignore = E501,W503
  22. exclude = *.*/*