intel nfv ci testcase repo.
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 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [tox]
  2. minversion = 2.0
  3. envlist = py34,py27,pep8
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. whitelist_externals = bash
  8. find
  9. rm
  10. deps =
  11. -r{toxinidir}/test-requirements.txt
  12. commands =
  13. find . -type f -name "*.pyc" -delete
  14. passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
  15. [testenv:pep8]
  16. commands = bash tools/flake8wrap.sh {posargs}
  17. [testenv:venv]
  18. commands = {posargs}
  19. [flake8]
  20. # H803 skipped on purpose per list discussion.
  21. # E123, E125 skipped as they are invalid PEP-8.
  22. # E125 continuation line does not distinguish itself from next logical line
  23. # E126 continuation line over-indented for hanging indent
  24. # E128 continuation line under-indented for visual indent
  25. # E129 visually indented line with same indent as next logical line
  26. # E265 block comment should start with ‘# ‘
  27. # H301 one import per line
  28. # H305 imports not grouped correctly
  29. # H307 like imports should be grouped together
  30. # H404 multi line docstring should start with a summary
  31. # H405 multi line docstring summary not separated with an empty line
  32. # H904 Wrap long lines in parentheses instead of a backslash
  33. ignore = E123,E125,E126,E128,E129,E265,H301,H305,H307,H404,H405,H904,H803
  34. show-source = True
  35. builtins = _
  36. exclude=.venv,.git,.tox,dist,*openstack/common*,*lib/python*,*egg,build