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

贡献者指南

Option to error on cell outputs exceeding `--max-size` · kynan/nbstripout#167 | Good First Issue