kynan/nbstripout

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

オープン

#167 opened on 2022/08/19

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)Python (102 件のフォーク)batch import
help wantedtype:enhancement

Repository metrics

Stars
 (1,476 個のスター)
PR merge metrics
 (30d に merged 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).

コントリビューターガイド