Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [tox]
  2. envlist =
  3. py{35,36,37}-django{111,21,22}
  4. py36-djangomaster
  5. lint
  6. sandbox
  7. docs
  8. [testenv]
  9. commands = coverage run --parallel -m pytest {posargs}
  10. extras = test
  11. pip_pre = true
  12. deps =
  13. django111: django>=1.11,<2
  14. django21: django>=2.1,<2.2
  15. django22: django>=2.2,<2.3
  16. [testenv:py36-djangomaster]
  17. commands =
  18. # Can't specify this in deps - see https://github.com/tox-dev/tox/issues/513
  19. pip install https://github.com/django/django/archive/master.tar.gz#egg=django
  20. pytest {posargs}
  21. [testenv:lint]
  22. basepython = python3.6
  23. deps =
  24. flake8
  25. isort
  26. commands =
  27. npm install
  28. flake8 src tests setup.py
  29. isort -c -q --recursive --diff src/ tests/
  30. npm run eslint
  31. django-admin.py compilemessages
  32. [testenv:sandbox]
  33. basepython = python3.5
  34. deps =
  35. -r{toxinidir}/requirements.txt
  36. django>=2.2,<2.3
  37. whitelist_externals = make
  38. commands =
  39. make build_sandbox
  40. [testenv:docs]
  41. basepython = python3.6
  42. whitelist_externals = make
  43. changedir = {toxinidir}/docs
  44. deps =
  45. -r{toxinidir}/docs/requirements.txt
  46. commands =
  47. make html