You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switching this over in ophyd-async gives the following:
tests: FAIL ✖ in 0.02 seconds
tests: commands[0]> pytest --cov=ophyd_async --cov-report term --cov-report xml:cov.xml
tests: failed with pytest is not allowed, use allowlist_externals to allow it
pre-commit: FAIL ✖ in 0.03 seconds
pre-commit: commands[0]> pre-commit run --all-files --show-diff-on-failure
pre-commit: failed with pre-commit is not allowed, use allowlist_externals to allow it
docs: FAIL ✖ in 0.03 seconds
docs: commands[0]> sphinx-build --fresh-env --show-traceback --fail-on-warning --keep-going docs build/html
docs: failed with sphinx-build is not allowed, use allowlist_externals to allow it
type-checking: commands[0]> pyright src --pythonpath /cache/venv-for/dls/science/users/tmc43/repos/ophyd-async/bin/python
type-checking: failed with pyright is not allowed, use allowlist_externals to allow it
pre-commit: FAIL code 1 (0.03 seconds)
type-checking: FAIL code 1 (0.03 seconds)
tests: FAIL code 1 (0.02 seconds)
docs: FAIL code 1 (0.03 seconds)
evaluation failed :( (0.09 seconds)
Need to add to allowlist_externals to make this work:
[tool.tox.env_run_base]
# Allow binaries from the base env to be runallowlist_externals = [
"pytest",
"pre-commit",
"sphinx-build",
"sphinx-autobuild",
"pyright", # or mypy
]
Activity
coretl commentedon Feb 25, 2026
Switching this over in
ophyd-asyncgives the following:Need to add to
allowlist_externalsto make this work: