kynan/nbstripout

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

開放

#167 建立於 2022年8月19日

 (6 則留言) (0 個反應) (0 位負責人)Python (102 個分叉)batch import
help wantedtype:enhancement

倉庫指標

星標
 (1,477 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南