123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- [tox]
- minversion = 3.18
- skipsdist = true
- envlist =
- py3
- flake8
- docs
- isort >= 5.1.0
- [testenv:py3]
- basepython = python3
- [testenv]
- usedevelop = true
- passenv = DJANGO_SETTINGS_MODULE PYTHONPATH HOME DISPLAY OBJC_DISABLE_INITIALIZE_FORK_SAFETY
- setenv =
- PYTHONDONTWRITEBYTECODE=1
- deps =
- py{3,38,39,310}: -rtests/requirements/py3.txt
- postgres: -rtests/requirements/postgres.txt
- mysql: -rtests/requirements/mysql.txt
- oracle: -rtests/requirements/oracle.txt
- changedir = tests
- commands =
- {envpython} runtests.py {posargs}
- [testenv:flake8]
- basepython = python3
- usedevelop = false
- deps = flake8
- changedir = {toxinidir}
- commands = flake8 .
- [testenv:docs]
- basepython = python3
- usedevelop = false
- allowlist_externals =
- make
- deps =
- Sphinx
- pyenchant
- sphinxcontrib-spelling
- changedir = docs
- commands =
- make spelling
- [testenv:isort]
- basepython = python3
- usedevelop = false
- deps = isort
- changedir = {toxinidir}
- commands = isort --check-only --diff django tests scripts
- [testenv:javascript]
- usedevelop = false
- deps =
- changedir = {toxinidir}
- allowlist_externals =
- npm
- commands =
- npm install
- npm test
|