Iotronic plugin for the OpenStack Dashboard.
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 862B

123456789101112131415161718192021222324252627282930313233343536373839
  1. [tox]
  2. envlist = py27,py27dj18,pep8
  3. minversion = 2.3.1
  4. skipsdist = True
  5. [testenv]
  6. usedevelop = True
  7. setenv = VIRTUAL_ENV={envdir}
  8. BRANCH_NAME=master
  9. CLIENT_NAME=iotronic-ui
  10. install_command = pip install {opts} {packages}
  11. deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
  12. -r{toxinidir}/test-requirements.txt
  13. commands = {}
  14. whitelist_externals = flake8
  15. [testenv:pep8]
  16. basepython = python2.7
  17. # commands = flake8 {posargs}
  18. commands =
  19. [testenv:venv]
  20. commands = {posargs}
  21. [testenv:py27]
  22. basepython = python2.7
  23. commands =
  24. [testenv:py27dj18]
  25. basepython = python2.7
  26. commands =
  27. pip install django>=1.8,<2.0
  28. [flake8]
  29. show-source = True
  30. builtins = _
  31. ignore = E711,E712,H404,H405,E123,E125,E901,H301,H701,E226
  32. exclude = .venv,.git,.tox,dist,*lib/python*,*egg,build,node_modules
  33. max-complexity = 20