mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-28 02:30:27 +01:00
Patches to nbdiff for skipping noisy metadata, some local config
Nbdiff --ignore-details skils autoscroll, collapsed, deletable, editable, toc (pull request on the way). Enabling empty pass, no git pager, ignoring gitdiff nbdiff details.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
alias ll="ls -l"
|
||||
alias ll="ls -alF"
|
||||
|
||||
nbd() {
|
||||
DIRNAME=$(dirname "$1")
|
||||
@@ -8,5 +8,5 @@ nbd() {
|
||||
CHECKPOINT_COPY=$DIRNAME/.ipynb_checkpoints/$BASENAME-checkpoint.ipynb
|
||||
|
||||
# echo "How change $CHECKPOINT_COPY into $WORKING_COPY"
|
||||
nbdiff "$CHECKPOINT_COPY" "$WORKING_COPY"
|
||||
nbdiff "$CHECKPOINT_COPY" "$WORKING_COPY" --ignore-details
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user