Skip to content

Commit 2d6a7e2

Browse files
committed
fixes #1561
1 parent 2672201 commit 2d6a7e2

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

nbdev/clean.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ def nbdev_clean(
150150
def clean_jupyter(path, model, **kwargs):
151151
"Clean Jupyter `model` pre save to `path`"
152152
if not (model['type']=='notebook' and model['content']['nbformat']==4): return
153-
get_config.cache_clear() # Allow config changes without restarting Jupyter
154153
jupyter_hooks = get_config(path=path).jupyter_hooks
155154
if jupyter_hooks: _nbdev_clean(model['content'], path=path)
156155

nbs/api/11_clean.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,6 @@
501501
"def clean_jupyter(path, model, **kwargs):\n",
502502
" \"Clean Jupyter `model` pre save to `path`\"\n",
503503
" if not (model['type']=='notebook' and model['content']['nbformat']==4): return\n",
504-
" get_config.cache_clear() # Allow config changes without restarting Jupyter\n",
505504
" jupyter_hooks = get_config(path=path).jupyter_hooks\n",
506505
" if jupyter_hooks: _nbdev_clean(model['content'], path=path)"
507506
]

nbs/api/13_cli.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@
348348
"outputs": [],
349349
"source": [
350350
"#| hide\n",
351-
"# get_config.cache_clear()\n",
352351
"# with tempfile.TemporaryDirectory() as d, working_directory(d):\n",
353352
"# nbdev_new.__wrapped__(repo='my-project',branch='main',user='fastai',author='fastai',author_email='info@fast.ai',description='A test project')"
354353
]

0 commit comments

Comments
 (0)