Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Replaced whitelist_externals with allowlist_externals in tox and removed tox-battery #122

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ commands =
skip_install = True

[testenv:csslint]
whitelist_externals = {toxinidir}/node_modules/csslint/dist/cli.js
allowlist_externals = {toxinidir}/node_modules/csslint/dist/cli.js
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{toxinidir}/node_modules/csslint/dist/cli.js sql_grader/static/
deps =
skip_install = True

[testenv:eslint]
whitelist_externals = {toxinidir}/node_modules/eslint/bin/eslint.js
allowlist_externals = {toxinidir}/node_modules/eslint/bin/eslint.js
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
{toxinidir}/node_modules/eslint/bin/eslint.js sql_grader/static/view.js
Expand All @@ -56,38 +56,38 @@ deps =
transifex-client
commands =
cd sql_grader && i18n_tool transifex pull
whitelist_externals =
allowlist_externals =
cd

[testenv:translations_compile]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool generate
whitelist_externals =
allowlist_externals =
cd

[testenv:translations_dummy]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool dummy
whitelist_externals =
allowlist_externals =
cd

[testenv:translations_detect_changed]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool changed
whitelist_externals =
allowlist_externals =
cd

[testenv:translations_extract]
deps =
edx-i18n-tools==0.4.8
commands =
cd sql_grader && i18n_tool extract
whitelist_externals =
allowlist_externals =
cd

Loading