You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be helpful if there was a way to specify the path nbstripout --install puts into e.g. .git/config. This would enable to specify only python or python3, not the full path, which can differ between runtimes, e.g. when using Apptainer/Singularity or Docker containers (/usr/bin/python vs /usr/local/bin/python) occasionally as well as the native Python on the same repo.
The text was updated successfully, but these errors were encountered:
Useful to specify e.g. `nbstripout --install --python python3` so not
the full path to Python but a more cross-native/container value is put
into the git config.
closeskynan#181
Useful to specify e.g. `nbstripout --install --python python3` so not
the full path to Python but a more cross-native/container value is put
into the git config.
closes#181
* 📝 Document --python in README
* ✅ Add test for --python
* 📝 Fix code snippets quoting in README
* 📝 Improve wording for --python in README
* 🎨 Fix code style in new --python test
Co-authored-by: Florian Rathgeber <florian.rathgeber@gmail.com>
It would be helpful if there was a way to specify the path
nbstripout --install
puts into e.g..git/config
. This would enable to specify onlypython
orpython3
, not the full path, which can differ between runtimes, e.g. when using Apptainer/Singularity or Docker containers (/usr/bin/python
vs/usr/local/bin/python
) occasionally as well as the native Python on the same repo.The text was updated successfully, but these errors were encountered: