kynan/nbstripout

Option to error on cell outputs exceeding `--max-size`

Open

#167 aperta il 19 ago 2022

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)Python (90 fork)batch import
help wantedtype:enhancement

Metriche repository

Star
 (1047 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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).

Guida contributor