kynan/nbstripout
View on GitHubOption to error on cell outputs exceeding `--max-size`
Open
#167 opened on Aug 19, 2022
help wantedtype:enhancement
Repository metrics
- Stars
- (1,047 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
The --max-size flag added in #135 is a great addition! 👍
When using nbstripout as commit hook, it would be nice to have a slightly safer mode that doesn't auto-remove output exceeding the max size but rather raises an error to abort the commit and let the developer handle it on a case by case basis (maybe compress rather than remove the cell output).