Add nbstripout to pre-commit#83
Conversation
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
I find that kind of annoying and possibly confusing to newcomers. Wish there was a way to simply overwrite kernelname="python3"... Is it the case that following instructions here https://github.com/xarray-contrib/xarray-tutorial/blob/main/CONTRIBUTING.md#create-a-python-environment, you'll still end up with the different kernel names if nb_conda_kernels is installed? also noting that this PR addresses #78 |
|
If write a script to add If using Jupyter Lab from the xarray-tutorial conda environment, name should be the default python3. |
|
AH I just checked.
Seems like we could recommend tutorial users open |
You can just launch binder pointing to this |

Implements @zmoon's suggestion to use nbstripout to delete kernel info.
This builds successfully locally, but asks you to choose a kernel when opening a notebook:
