forked from Stanford-Online/xblock-sql-grader
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: Drop a bunch of trailing spaces.
- Loading branch information
Showing
1 changed file
with
31 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,101 @@ | ||
[tox] | ||
envlist = | ||
envlist = | ||
csslint | ||
eslint | ||
py{311,312}-django{42},quality | ||
|
||
[testenv] | ||
deps = | ||
deps = | ||
-rrequirements/test.txt | ||
django42: Django>=4.2,<4.3 | ||
commands = | ||
|
||
commands = | ||
coverage run manage.py test | ||
coverage report | ||
coverage html | ||
|
||
[testenv:clean] | ||
commands = | ||
commands = | ||
coverage erase | ||
skip_install = True | ||
|
||
[testenv:csslint] | ||
allowlist_externals = {toxinidir}/node_modules/csslint/dist/cli.js | ||
passenv = | ||
passenv = | ||
TRAVIS | ||
TRAVIS_JOB_ID | ||
TRAVIS_BRANCH | ||
commands = | ||
commands = | ||
{toxinidir}/node_modules/csslint/dist/cli.js sql_grader/static/ | ||
deps = | ||
deps = | ||
skip_install = True | ||
|
||
[testenv:eslint] | ||
allowlist_externals = {toxinidir}/node_modules/eslint/bin/eslint.js | ||
passenv = | ||
passenv = | ||
TRAVIS | ||
TRAVIS_JOB_ID | ||
TRAVIS_BRANCH | ||
commands = | ||
commands = | ||
{toxinidir}/node_modules/eslint/bin/eslint.js sql_grader/static/view.js | ||
deps = | ||
deps = | ||
skip_install = True | ||
|
||
[testenv:quality] | ||
passenv = | ||
passenv = | ||
TRAVIS | ||
TRAVIS_JOB_ID | ||
TRAVIS_BRANCH | ||
deps = | ||
deps = | ||
-rrequirements/quality.txt | ||
commands = | ||
commands = | ||
pycodestyle sql_grader/ | ||
pylint sql_grader/ | ||
|
||
[testenv:translations_push] | ||
deps = | ||
deps = | ||
transifex-client | ||
commands = | ||
commands = | ||
tx push -s | ||
|
||
[testenv:translations_pull] | ||
deps = | ||
deps = | ||
edx-i18n-tools==1.3.0 | ||
transifex-client | ||
commands = | ||
commands = | ||
cd sql_grader && i18n_tool transifex pull | ||
allowlist_externals = | ||
allowlist_externals = | ||
cd | ||
|
||
[testenv:translations_compile] | ||
deps = | ||
deps = | ||
edx-i18n-tools==1.3.0 | ||
commands = | ||
commands = | ||
cd sql_grader && i18n_tool generate | ||
allowlist_externals = | ||
allowlist_externals = | ||
cd | ||
|
||
[testenv:translations_dummy] | ||
deps = | ||
deps = | ||
edx-i18n-tools==1.3.0 | ||
commands = | ||
commands = | ||
cd sql_grader && i18n_tool dummy | ||
allowlist_externals = | ||
allowlist_externals = | ||
cd | ||
|
||
[testenv:translations_detect_changed] | ||
deps = | ||
deps = | ||
edx-i18n-tools==1.3.0 | ||
commands = | ||
commands = | ||
cd sql_grader && i18n_tool changed | ||
allowlist_externals = | ||
allowlist_externals = | ||
cd | ||
|
||
[testenv:translations_extract] | ||
deps = | ||
deps = | ||
edx-i18n-tools==1.3.0 | ||
commands = | ||
commands = | ||
cd sql_grader && i18n_tool extract | ||
allowlist_externals = | ||
allowlist_externals = | ||
cd | ||
|