Florian Rathgeber
Florian Rathgeber
Suppose we could have a wrapper script checking for existence of 1. `nbstripout` in the `$PATH` 2. the hard-coded script path from `nbstripout --install` Maybe in reverse order...
FYI, since `nbstripout` can now be run as a module, we have changed the filters to use `/path/to/your/python -m nbstripout` i.e. it's still the full path to the interpreter, but...
@mereldawu, is `/opt/conda/bin` inside the container? The interpreter path is written at the point where you run `nbstripout --install` and the path of the active interpreter is used.
Great to hear you found a working solution!
@mafloh that should be fine, as long as you always have `nbstripout` installed for your system `python3`. Hard coding the interpreter path is a feature of entrypoint scripts as it's...
Agreed, that'd be a welcome addition. Do you feel like working on a pull request @melsophos @jeremydouglass ?
Is this still a use case you have @melsophos @jeremydouglass ?
Great suggestion :) Feel like sending a PR for this @casperdcl ?
What do you get as `git diff` when you hit the case of allegedly modified notebook files?
So what exactly does `git status` report in this situation? Are those notebooks modified? Or is it a mode change? Also could you run a `nbstripout --status` before and after...