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.
 
 
 
 
 
 

22 regels
427 B

  1. [tox]
  2. skipsdist = True
  3. envlist = pep8,py2,py3
  4. [testenv]
  5. deps = -r{toxinidir}/requirements.txt
  6. -r{toxinidir}/test-requirements.txt
  7. install_command = pip install -U {packages}
  8. commands = pytest -v {posargs: tests}
  9. whitelist_externals = sh
  10. setenv =
  11. PYTHONPATH = {toxinidir}
  12. [testenv:pep8]
  13. commands = flake8 --ignore=E501 --show-source src tests
  14. [testenv:py2]
  15. basepython = python2
  16. [testenv:py3]
  17. basepython = python3