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

use a precommit to clear notebooks #93

Open
hareball90 opened this issue Aug 29, 2023 · 1 comment
Open

use a precommit to clear notebooks #93

hareball90 opened this issue Aug 29, 2023 · 1 comment
Labels
Milestone

Comments

@hareball90
Copy link
Collaborator

clear notebook cells using nbstripout - should deal with changes to cell outputs counting as versioned changes

see data science qa notes for advice on usage

@twomagpi
Copy link
Collaborator

twomagpi commented Aug 7, 2024

This should also run nbformat to address:

/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/nbformat/init.py:96: MissingIDFieldWarning: Cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use normalize() on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.

@twomagpi twomagpi added this to the v0.1.9 milestone Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants