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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [tox]
  2. envlist =
  3. py{37,38,39}-django{31,32}
  4. lint
  5. sandbox
  6. docs
  7. [testenv]
  8. commands = coverage run --parallel -m pytest {posargs}
  9. extras = test
  10. pip_pre = true
  11. deps =
  12. django31: django>=3.1,<3.2
  13. django32: django>=3.2,<3.3
  14. [testenv:lint]
  15. basepython = python3.8
  16. deps =
  17. -r{toxinidir}/requirements.txt
  18. allowlist_externals = npm
  19. commands =
  20. npm ci
  21. flake8 src tests setup.py
  22. isort -c -q --diff src/ tests/
  23. npm run eslint
  24. django-admin.py compilemessages
  25. [testenv:sandbox]
  26. basepython = python3.8
  27. deps =
  28. -r{toxinidir}/requirements.txt
  29. django>=3.2,<3.3
  30. allowlist_externals = make
  31. commands =
  32. make build_sandbox
  33. [testenv:docs]
  34. basepython = python3.8
  35. allowlist_externals = make
  36. changedir = {toxinidir}/docs
  37. pip_pre = false
  38. deps =
  39. -r{toxinidir}/docs/requirements.txt
  40. commands =
  41. make html