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
"`clean_jupyter` implements Jupyter's [`ContentsManager.pre_save_hook`](https://jupyter-notebook.readthedocs.io/en/6.4.12/extending/savehooks.html). The easiest way to install it as a Jupyter Notebook or Lab pre-save hook is by running `nbdev_install_jupyter_hooks`."
351
+
"`clean_jupyter` implements Jupyter's [`ContentsManager.pre_save_hook`](https://jupyter-notebook.readthedocs.io/en/6.4.12/extending/savehooks.html). The easiest way to install it as a Jupyter Notebook or Lab pre-save hook is by running `nbdev_install_hooks`."
393
352
]
394
353
},
395
354
{
@@ -450,8 +409,8 @@
450
409
"source": [
451
410
"#|export\n",
452
411
"@call_parse\n",
453
-
"def nbdev_install_jupyter_hooks():\n",
454
-
"\"Install Jupyter hooks to clean notebooks on save\"\n",
412
+
"def nbdev_install_hooks():\n",
413
+
"\"Install Jupyter and git hooks to clean notebooks on save and trust notebooks automatically\"\n",
455
414
" cfg_path = Path.home()/'.jupyter'\n",
456
415
" cfg_fns = [cfg_path/f'jupyter_{o}_config.json' for o in ('notebook','server')]\n",
0 commit comments