-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3613a3
commit 3c66e8e
Showing
16 changed files
with
66 additions
and
61 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
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
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,50 @@ | ||
[tox] | ||
envlist = py38-django{32, 42}, quality | ||
envlist = py{38, 312}-django{42}, docs, quality | ||
|
||
[testenv] | ||
deps = | ||
django32: Django>=3.2,<4.0 | ||
deps = | ||
setuptools | ||
django42: Django>=4.2,<4.3 | ||
quality: Django>=4.2,<4.3 | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/quality.txt | ||
commands = | ||
commands = | ||
python -Wd -m pytest {posargs} | ||
|
||
[testenv:docs] | ||
setenv = | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
PYTHONPATH = {toxinidir} | ||
allowlist_externals = | ||
allowlist_externals = | ||
make | ||
rm | ||
deps = | ||
deps = | ||
setuptools | ||
wheel | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/doc.txt | ||
commands = | ||
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 = | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=test_settings | ||
PYTHONPATH = {toxinidir}/:{toxinidir}/edx_ace | ||
basepython = python3.8 | ||
allowlist_externals = | ||
deps = | ||
setuptools | ||
quality: Django>=4.2,<4.3 | ||
-r{toxinidir}/requirements/test.txt | ||
-r{toxinidir}/requirements/quality.txt | ||
allowlist_externals = | ||
make | ||
rm | ||
touch | ||
commands = | ||
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 | ||
|