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.

27 lines
544 B

  1. [tox]
  2. minversion = 1.6
  3. envlist = pep8
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. deps = -r{toxinidir}/test-requirements.txt
  8. -r{toxinidir}/requirements.txt
  9. install_command = pip install -U {opts} {packages}
  10. [testenv:venv]
  11. commands = {posargs}
  12. [testenv:docs]
  13. commands = python setup.py build_sphinx
  14. [testenv:genconfig]
  15. commands =
  16. oslo-config-generator --config-file etc/oslo-config-generator/faafo.conf
  17. [testenv:pep8]
  18. commands = flake8 {posargs}
  19. [flake8]
  20. show-source = True
  21. exclude=.venv,.git,.tox,*egg*,build,*openstack/common*