forked from Stanford-Online/xblock-submit-and-compare
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from openedx/salman/djang0-4.2-support
Add django 4.2 suppport
- Loading branch information
Showing
5 changed files
with
27 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,7 @@ Version 0.5 | |
Version 1.1.0 | ||
|
||
Added support for django 3.2 | ||
Version 1.2.0 | ||
|
||
Added support for django 4.2 | ||
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,52 +1,50 @@ | ||
[tox] | ||
envlist = csslint,eslint,pycodestyle,pylint,py38-django{22,30,31,32} | ||
envlist = csslint,eslint,pycodestyle,pylint,py38-django{32,42} | ||
|
||
[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 | ||
-rrequirements/test.txt | ||
django32: Django>=3.2,<4.0 | ||
django42: Django>=4.2,<4.3 | ||
-rrequirements/test.txt | ||
commands = | ||
coverage run manage.py test | ||
coverage report | ||
coverage html | ||
coverage run manage.py test | ||
coverage report | ||
coverage html | ||
|
||
[testenv:clean] | ||
commands = | ||
coverage erase | ||
coverage erase | ||
deps = | ||
-rrequirements/test.txt | ||
-rrequirements/test.txt | ||
skip_install = True | ||
|
||
[testenv:csslint] | ||
whitelist_externals = {toxinidir}/node_modules/csslint/dist/cli.js | ||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH | ||
commands = | ||
{toxinidir}/node_modules/csslint/dist/cli.js submit_and_compare/public/ | ||
{toxinidir}/node_modules/csslint/dist/cli.js submit_and_compare/public/ | ||
deps = | ||
skip_install = True | ||
|
||
[testenv:eslint] | ||
whitelist_externals = {toxinidir}/node_modules/eslint/bin/eslint.js | ||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH | ||
commands = | ||
{toxinidir}/node_modules/eslint/bin/eslint.js --fix submit_and_compare/public/view.js | ||
{toxinidir}/node_modules/eslint/bin/eslint.js --fix submit_and_compare/public/view.js | ||
deps = | ||
skip_install = True | ||
|
||
[testenv:quality] | ||
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH | ||
deps = | ||
-rrequirements/quality.txt | ||
-rrequirements/quality.txt | ||
commands = | ||
pycodestyle --max-line-length=120 submit_and_compare/ | ||
pylint --rcfile=pylintrc submit_and_compare/ | ||
pycodestyle --max-line-length=120 submit_and_compare/ | ||
pylint --rcfile=pylintrc submit_and_compare/ | ||
|
||
[testenv:transifex] | ||
deps = | ||
transifex-client | ||
transifex-client | ||
commands = | ||
tx push -s | ||
tx push -s | ||
|