We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4439d61 commit f380f5dCopy full SHA for f380f5d
README.md
@@ -453,6 +453,16 @@ to the `.pre-commit-config.yaml` in your repository:
453
454
Then run `pre-commit install` to activate the hook.
455
456
+When passing parameters to the hook, be aware that arguments with spaces such as
457
+`--extra-keys` need to be quoted as a whole:
458
+
459
+ repos:
460
+ - repo: https://github.com/kynan/nbstripout
461
+ rev: 0.8.1
462
+ hooks:
463
+ - id: nbstripout
464
+ args: ['--extra-keys="metadata.celltoolbar cell.metadata.heading_collapsed"']
465
466
> [!WARNING]
467
>
468
> In this mode, `nbstripout` is used as a git hook to strip any `.ipynb` files
0 commit comments