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

Make sure all notebooks are classified in notebooks.toml #1359

Merged
merged 2 commits into from
May 14, 2024

Conversation

frankharkins
Copy link
Member

Closes #1319.

  • The script no longer uses all-notebooks as a glob pattern to search, instead it just iterates through the list of filepaths
  • Added a check to detect unclassified notebooks

Copy link
Collaborator

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great! I like how you use @property to make the code extra readable.

scripts/nb-tester/qiskit_docs_notebook_tester/__init__.py Outdated Show resolved Hide resolved
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
@frankharkins frankharkins enabled auto-merge May 14, 2024 09:09
@frankharkins frankharkins added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit 72152ab May 14, 2024
2 checks passed
@frankharkins frankharkins deleted the FH/classify-all-notebooks branch May 14, 2024 09:12
frankharkins added a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
Closes Qiskit#1319.

* The script no longer uses `all-notebooks` as a glob pattern to search,
instead it just iterates through the list of filepaths
* Added a check to detect unclassified notebooks

---------

Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Require all notebooks to be classified
2 participants