Skip to content

Commit

Permalink
Add allowlist_externals for npm.
Browse files Browse the repository at this point in the history
By default tox does not allow invoking external binaries, in order to
prevent people from accidentally (or nefariously) deleting their entire
system. The pipeline tests do need to run npm though, so this change
adds that to the configuration.
  • Loading branch information
davidt committed Jan 24, 2023
1 parent c85a257 commit b5e35f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ ignore_outcome =
djmain: True
ignore_errors =
djmain: True
allowlist_externals=npm

[testenv:docs]
basepython = python3.9
Expand Down

0 comments on commit b5e35f2

Please sign in to comment.