-
Notifications
You must be signed in to change notification settings - Fork 1
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
DX: replace nbstripout by nb-clean #91
Conversation
for more information, see https://pre-commit.ci
.pre-commit-config.yaml
Outdated
- --remove-empty-cells | ||
- --preserve-cell-metadata | ||
- tags | ||
- slideshow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would also remove slideshow
. Only keep tags
(which are used by myst-nb
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
cell.metadata.slideshow | ||
- --remove-empty-cells | ||
- --preserve-cell-metadata | ||
- tags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also keep jupyter
and mystnb
(see 4420106)
Change strategy: seems like it is ok to remove empty cells in nbstripout too, so I will try in another PR #92 |
Change strategy and replaced by new PR #93 |
https://github.com/srstevenson/nb-clean