kynan/nbstripout
Vedi su GitHubPrevent committing notebooks with errors in cell outputs
Open
#180 aperta il 24 dic 2022
help wantedtype:enhancement
Metriche repository
- Star
- (1047 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Is it possible to detect whether a cell output is an error + stack trace and let users specify one of 3 options ignore, strip or error? The first would be current behavior of doing nothing, second would remove the cell output and third would exit nbstripout non-zero so that using it as a pre-commit hook aborts commits.
My goal is to prevent accidentally releasing notebooks like this:
