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 #1159

Closed
Closed
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion requirements/ci.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@

coverage # Base coverage for codecov
tox # Virtualenv management for tests
tox-battery # Makes tox aware of requirements file changes
1 change: 0 additions & 1 deletion requirements/dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ diff-cover # Changeset diff test coverage
edx_lint # Python code linting rules
edx-i18n-tools # For i18n_tool dummy
tox # virtualenv management for tests
tox-battery # Makes tox aware of requirements file changes
wheel # For generation of wheels for PyPI
path.py
django
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ commands =
python -Wd -m pytest {posargs:-n 3}

[testenv:js_tests]
whitelist_externals =
allowlist_externals =
npm
make
commands =
Expand All @@ -27,7 +27,7 @@ commands =
make test-js

[testenv:js_lint]
whitelist_externals =
allowlist_externals =
npm
make
commands =
Expand All @@ -36,15 +36,15 @@ commands =
make lint-js

[testenv:rst_validation]
whitelist_externals =
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/quality.txt
commands =
make quality-rst

[testenv:quality]
whitelist_externals =
allowlist_externals =
make
rm
touch
Expand All @@ -63,7 +63,7 @@ commands =
{toxinidir}/edx_proctoring/scripts/version_check.py

[testenv:pii_check]
whitelist_externals =
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/test.txt
Expand All @@ -72,7 +72,7 @@ commands =
make pii_check

[testenv:translations]
whitelist_externals =
allowlist_externals =
make
deps =
django32: Django>=3.2,<3.3
Expand Down
Loading