OpenStack Service Types Authority
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.

37 lines
622 B

  1. [tox]
  2. minversion = 1.6
  3. envlist = pep8,validate,docs
  4. skipdist = True
  5. [testenv]
  6. basepython = python3
  7. setenv =
  8. VIRTUAL_ENV={envdir}
  9. deps = -r{toxinidir}/requirements.txt
  10. [testenv:validate]
  11. deps = jsonschema
  12. commands =
  13. python transform.py -n
  14. [testenv:publish]
  15. commands =
  16. python validate.py
  17. python transform.py
  18. python publish.py
  19. [testenv:pep8]
  20. deps = hacking
  21. commands = flake8
  22. [testenv:docs]
  23. commands = sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
  24. [testenv:venv]
  25. commands = {posargs}
  26. [flake8]
  27. show-source = True
  28. builtins = _
  29. exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build