aboutsummaryrefslogtreecommitdiffstats
path: root/nbs/export.ipynb
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-11-28 11:28:16 -0800
committerEugene Triguba <hello@eugenetriguba.com>2026-11-28 11:28:16 -0800
commit50ad3fac280ad11f6b913b18d0780a44d1f1935f (patch)
tree08bdb85c76b3adc08b2d02bf824c72c1771bf320 /nbs/export.ipynb
parentClean up unused imports in cli (diff)
downloadnb-wip.zip
add wipwip
Diffstat (limited to '')
-rw-r--r--nbs/export.ipynb10
1 files changed, 8 insertions, 2 deletions
diff --git a/nbs/export.ipynb b/nbs/export.ipynb
index 1c7cdb9..3983d5d 100644
--- a/nbs/export.ipynb
+++ b/nbs/export.ipynb
@@ -499,7 +499,7 @@
" exp_path = (Path(src_dir)/module).with_suffix('.py')\n",
" src = '\\n'.join(\n",
" ['# AUTOGENERATED! DO NOT EDIT!\\n'] +\n",
- " list(map(lambda c: fmt_export_cell(c)['source'], cells))\n",
+ " [fmt_export_cell(c)['source'] for c in cells]\n",
" )\n",
" Path(exp_path).write_text(src)"
]
@@ -558,7 +558,13 @@
]
}
],
- "metadata": {},
+ "metadata": {
+ "kernelspec": {
+ "display_name": "python3",
+ "language": "python",
+ "name": "python3"
+ }
+ },
"nbformat": 4,
"nbformat_minor": 5
}