Simple, configuration-driven backup software for servers and workstations https://torsion.org/borgmatic/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tox.ini 877B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [tox]
  2. envlist = py35,py36,py37
  3. skip_missing_interpreters = True
  4. skipsdist = True
  5. minversion = 3.10.0
  6. [testenv]
  7. usedevelop = True
  8. deps = -rtest_requirements.txt
  9. whitelist_externals =
  10. find
  11. sh
  12. install_command =
  13. sh scripts/pip {opts} {packages}
  14. commands_pre =
  15. find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
  16. commands =
  17. pytest {posargs}
  18. py36,py37: black --check .
  19. isort --recursive --check-only --settings-path setup.cfg .
  20. flake8 borgmatic tests
  21. [testenv:black]
  22. basepython = python3.7
  23. commands =
  24. black {posargs} .
  25. [testenv:test]
  26. commands =
  27. pytest {posargs}
  28. [testenv:end-to-end]
  29. deps = -rtest_requirements.txt
  30. commands =
  31. pytest {posargs} --no-cov tests/end-to-end
  32. [testenv:isort]
  33. deps = {[testenv]deps}
  34. commands =
  35. isort {posargs:--recursive} --settings-path setup.cfg .