-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Post Django 3.2 cleanup (#134)
Co-authored-by: Mohammad Ahtasham ul Hassan <[email protected]> Co-authored-by: Jason Myatt <[email protected]>
- Loading branch information
1 parent
7376d4d
commit 5cecee2
Showing
6 changed files
with
49 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,45 @@ | ||
[tox] | ||
envlist = py38-django{22,30,31,32}, quality | ||
envlist = py38-django{32,40}, quality | ||
|
||
[testenv] | ||
deps = | ||
django22: Django>=2.2,<2.3 | ||
django30: Django>=3.0,<3.1 | ||
django31: Django>=3.1,<3.2 | ||
django32: Django>=3.2,<4.0 | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/quality.txt | ||
commands = | ||
python -Wd -m pytest {posargs} | ||
deps = | ||
django32: Django>=3.2,<4.0 | ||
django40: Django>=4.0,<4.1 | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/quality.txt | ||
commands = | ||
python -Wd -m pytest {posargs} | ||
|
||
[testenv:docs] | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
PYTHONPATH = {toxinidir} | ||
whitelist_externals = | ||
make | ||
rm | ||
deps = | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/doc.txt | ||
commands = | ||
doc8 --ignore-path docs/_build README.rst docs | ||
make -C docs clean | ||
make -C docs html | ||
python setup.py sdist bdist_wheel | ||
twine check dist/* | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
PYTHONPATH = {toxinidir} | ||
whitelist_externals = | ||
make | ||
rm | ||
deps = | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/doc.txt | ||
commands = | ||
doc8 --ignore-path docs/_build README.rst docs | ||
make -C docs clean | ||
make -C docs html | ||
python setup.py sdist bdist_wheel | ||
twine check dist/* | ||
|
||
[testenv:quality] | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=test_settings | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=test_settings | ||
basepython = python3.8 | ||
whitelist_externals = | ||
make | ||
rm | ||
touch | ||
commands = | ||
touch edx_ace/tests/__init__.py | ||
pylint edx_ace | ||
rm edx_ace/tests/__init__.py | ||
pycodestyle edx_ace | ||
isort --check-only --diff edx_ace manage.py setup.py test_settings.py | ||
make selfcheck | ||
whitelist_externals = | ||
make | ||
rm | ||
touch | ||
commands = | ||
touch edx_ace/tests/__init__.py | ||
pylint edx_ace | ||
rm edx_ace/tests/__init__.py | ||
pycodestyle edx_ace | ||
isort --check-only --diff edx_ace manage.py setup.py test_settings.py | ||
make selfcheck | ||
|