11[tox]
2- envlist = py38-django{22,30,31,32 }, quality
2+ envlist = py38-django{32,40 }, quality
33
44[pycodestyle]
55exclude = .git,.tox,migrations
@@ -15,32 +15,30 @@ addopts = --cov help_tokens --cov-report term-missing --cov-report xml
1515norecursedirs = .* requirements
1616
1717[testenv]
18- deps =
19- django22: Django>=2.2,<2.3
20- django30: Django>=3.0,<3.1
21- django31: Django>=3.1,<3.2
22- django32: Django>=3.2,<3.3
23- -r{toxinidir}/requirements/test.txt
18+ deps =
19+ django32: Django>=3.2,<4.0
20+ django40: Django>=4.0,<4.1
21+ -r{toxinidir}/requirements/test.txt
2422commands =
25- python -Wd -m pytest {posargs}
23+ python -Wd -m pytest {posargs}
2624
2725[testenv:quality]
28- setenv =
29- DJANGO_SETTINGS_MODULE = test_settings
26+ setenv =
27+ DJANGO_SETTINGS_MODULE = test_settings
3028whitelist_externals =
31- make
32- rm
33- touch
29+ make
30+ rm
31+ touch
3432deps =
35- -r{toxinidir}/requirements/quality.txt
36- -r{toxinidir}/requirements/test.txt
33+ -r{toxinidir}/requirements/quality.txt
34+ -r{toxinidir}/requirements/test.txt
3735commands =
38- touch tests/__init__.py
39- pylint help_tokens tests
40- rm tests/__init__.py
41- pycodestyle help_tokens tests
42- pydocstyle help_tokens tests
43- python setup.py check --restructuredtext --strict
44- isort --check-only --recursive tests help_tokens manage.py setup.py test_settings.py
45- make selfcheck
36+ touch tests/__init__.py
37+ pylint help_tokens tests
38+ rm tests/__init__.py
39+ pycodestyle help_tokens tests
40+ pydocstyle help_tokens tests
41+ python setup.py check --restructuredtext --strict
42+ isort --check-only tests help_tokens manage.py setup.py test_settings.py
43+ make selfcheck
4644
0 commit comments