kynan/nbstripout

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

Open

#167 建立於 2022年8月19日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)Python (1,047 star) (90 fork)batch import
help wantedtype:enhancement

描述

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

貢獻者指南