tox.ini 669 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. [tox]
  2. envlist = py27,py34,pre-commit
  3. [testenv]
  4. usedevelop=True
  5. passenv =
  6. LD_LIBRARY_PATH
  7. setenv =
  8. HOME=/tmp
  9. deps =
  10. -rrequirements-dev.txt
  11. commands =
  12. py.test -v \
  13. --cov=compose \
  14. --cov-report html \
  15. --cov-report term \
  16. --cov-config=tox.ini \
  17. {posargs}
  18. [testenv:pre-commit]
  19. skip_install = True
  20. deps =
  21. pre-commit
  22. commands =
  23. pre-commit install
  24. pre-commit run --all-files
  25. # Coverage configuration
  26. [run]
  27. branch = True
  28. [report]
  29. show_missing = true
  30. [html]
  31. directory = coverage-html
  32. # end coverage configuration
  33. [flake8]
  34. # Allow really long lines for now
  35. max-line-length = 140
  36. exclude = compose/packages