Skip to content

Commit

Permalink
fix: update tox.ini templates for tox>4
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Nov 14, 2023
1 parent dd815ff commit 2bf47ba
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions cookiecutter-django-app/{{cookiecutter.repo_name}}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ setenv =
PYTHONPATH = {toxinidir}
# Adding the option here instead of as a default in the docs Makefile because that Makefile is generated by shpinx.
SPHINXOPTS = -W
whitelist_externals =
allowlist_externals =
make
rm
deps =
Expand All @@ -64,7 +64,7 @@ commands =
twine check dist/*

[testenv:quality]
whitelist_externals =
allowlist_externals =
make
rm
touch
Expand Down
6 changes: 3 additions & 3 deletions cookiecutter-django-ida/{{cookiecutter.repo_name}}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ setenv =
PYTHONPATH = {toxinidir}
# Adding the option here instead of as a default in the docs Makefile because that Makefile is generated by shpinx.
SPHINXOPTS = -W
whitelist_externals =
allowlist_externals =
make
rm
deps =
Expand All @@ -68,15 +68,15 @@ commands =
make -e -C docs html

[testenv:translations]
whitelist_externals =
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/dev.txt
commands =
make validate_translations

[testenv:quality]
whitelist_externals =
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/quality.txt
Expand Down
6 changes: 3 additions & 3 deletions cookiecutter-xblock/{{cookiecutter.repo_name}}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ setenv =
PYTHONPATH = {toxinidir}
# Adding the option here instead of as a default in the docs Makefile because that Makefile is generated by shpinx.
SPHINXOPTS = -W
whitelist_externals =
allowlist_externals =
make
rm
deps =
Expand All @@ -62,15 +62,15 @@ commands =
make -e -C docs html

[testenv:translations]
whitelist_externals =
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/dev.txt
commands =
make validate_translations

[testenv:quality]
whitelist_externals =
allowlist_externals =
make
deps =
-r{toxinidir}/requirements/quality.txt
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ setenv =
PYTHONPATH = {toxinidir}
# Adding the option here instead of as a default in the docs Makefile because that Makefile is generated by shpinx.
SPHINXOPTS = -W
whitelist_externals =
allowlist_externals =
make
rm
deps =
Expand All @@ -59,7 +59,7 @@ commands =
python setup.py check --restructuredtext --strict

[testenv:quality]
whitelist_externals =
allowlist_externals =
make
rm
touch
Expand Down

0 comments on commit 2bf47ba

Please sign in to comment.