tox.ini 944 B

1234567891011121314151617181920212223242526272829303132333435
  1. [tox]
  2. envlist =
  3. py{27,34,35,36},
  4. py{27,34,35,36}-coverage,
  5. py{27,34,35,36}-pytest,
  6. py{27,34,35,36}-runtests,
  7. py{27,34,35,36}-pytest-coverage,
  8. py{27,34,35,36}-runtests-coverage,
  9. pylint-salt,
  10. pylint-tests
  11. skip_missing_interpreters = True
  12. skipsdist = True
  13. [testenv]
  14. passenv = LANG HOME
  15. sitepackages = True
  16. commands =
  17. python -c 'import sys; sys.stderr.write("\n\nPlease use nox instead.\n\n"); sys.exit(1)'
  18. [testenv:pylint-salt]
  19. basepython = python2.7
  20. deps = -r{toxinidir}/requirements/dev.txt
  21. commands =
  22. pylint --version
  23. pylint --rcfile=.testing.pylintrc --disable=I,W1307,C0411,C0413,W8410,str-format-in-logging {posargs:setup.py salt/}
  24. sitepackages = False
  25. [testenv:pylint-tests]
  26. basepython = python2.7
  27. deps = -r{toxinidir}/requirements/dev.txt
  28. commands =
  29. pylint --version
  30. pylint --rcfile=.testing.pylintrc --disable=I,W0232,E1002,W1307,C0411,C0413,W8410,str-format-in-logging {posargs:tests/}
  31. sitepackages = False