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

multiverse guide has undefined variables #2297

Open
Eric-Arellano opened this issue Nov 12, 2024 · 0 comments · May be fixed by #2514
Open

multiverse guide has undefined variables #2297

Eric-Arellano opened this issue Nov 12, 2024 · 0 comments · May be fixed by #2514

Comments

@Eric-Arellano
Copy link
Collaborator

Eric-Arellano commented Nov 12, 2024

Remove this:

{
"cell_type": "code",
"execution_count": null,
"id": "613c4d93",
"metadata": {
"tags": [
"remove-cell"
]
},
"outputs": [],
"source": [
"# This cell is hidden from users\n",
"# It stops the linter complaining about undefined variables\n",
"# ruff: noqa: F821"
]
},

To see what the issues are, remove that code cell and then run tox -e lint -- docs/guides/multiverse-computing-singularity.ipynb. (See https://github.com/Qiskit/documentation?tab=readme-ov-file#execute-notebooks for how to install Tox)

All code should be runnable, such as adding missing imports and defining all variables.

--

Also update our CI config to remove this line that ignores the notebook when testing:

"docs/guides/multiverse-computing-singularity.ipynb",

Add it here:

--

2d2fb9c may be useful inspiration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
1 participant