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

DX: replace nbstripout by nb-clean #91

Closed
wants to merge 3 commits into from
Closed

DX: replace nbstripout by nb-clean #91

wants to merge 3 commits into from

Conversation

shenvitor
Copy link
Member

@shenvitor shenvitor commented Aug 22, 2024

@shenvitor shenvitor changed the title DX: replace nbstripout by nbclean DX: replace nbstripout by nb-clean Aug 22, 2024
- --remove-empty-cells
- --preserve-cell-metadata
- tags
- slideshow
Copy link
Member

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)

Copy link
Member Author

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
Copy link
Member

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)

@redeboer redeboer marked this pull request as draft August 22, 2024 10:30
@shenvitor
Copy link
Member Author

shenvitor commented Aug 22, 2024

Change strategy:
https://github.com/kynan/nbstripout?tab=readme-ov-file#removing-empty-cells

seems like it is ok to remove empty cells in nbstripout too, so I will try in another PR #92

@shenvitor
Copy link
Member Author

shenvitor commented Aug 22, 2024

Change strategy and replaced by new PR #93

@shenvitor shenvitor closed this Aug 22, 2024
@redeboer redeboer deleted the nbclean branch August 22, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch from nbstripout to nbclean
2 participants