-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow extra_keys as an argument when using a pre-commit hook #119
Comments
Just to double check: do you mean pass those in as a command line argument like |
@kynan sorry for the delayed reply - I meant being able to specify |
Thanks, I'll have a look whether we want to support either or both. |
Can you give me some examples of extra keys you want to pass on the command line? And do you have an example notebook I could use to test? |
I've implemented
Feel free to reopen if this doesn't meet your needs. |
That works, thanks! |
Current extrakeys is only configurable through
git config (--global) filter.nbstripout.extrakeys
. It would be great if we can configure this when using nbstripout as part of a pre-commit hook as well!The text was updated successfully, but these errors were encountered: