aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-05-23 14:12:25 +0000
committerEugene Triguba <hello@eugenetriguba.com>2026-05-23 14:12:25 +0000
commitbad653b527d7b7e258dfa47524033b694bb65987 (patch)
treeec5d1c1b75208aece96af459b27207b15622f0af
parentRemove execution count from outputs when cleaning (diff)
downloadnb-bad653b527d7b7e258dfa47524033b694bb65987.zip
Remove nb test import from core exported file
-rw-r--r--nb/core.py1
-rw-r--r--nbs/core.ipynb20
2 files changed, 19 insertions, 2 deletions
diff --git a/nb/core.py b/nb/core.py
index b18b7dc..90f5d00 100644
--- a/nb/core.py
+++ b/nb/core.py
@@ -3,7 +3,6 @@
# cell: 6a2cc7f8-6c65-4a7c-890c-3cf9d1cd314e
import inspect
from typing import Callable
-from nb import test
# cell: c4875cc0-2d87-4c87-8789-7dc950be06c6
def callable_name(c: Callable) -> str:
diff --git a/nbs/core.ipynb b/nbs/core.ipynb
index 43ece73..849949e 100644
--- a/nbs/core.ipynb
+++ b/nbs/core.ipynb
@@ -7,6 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
+ "%%capture\n",
"%load_ext autoreload\n",
"%autoreload 2"
]
@@ -30,7 +31,16 @@
"source": [
"#| export\n",
"import inspect\n",
- "from typing import Callable\n",
+ "from typing import Callable"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "id": "bbaf531f",
+ "metadata": {},
+ "outputs": [],
+ "source": [
"from nb import test"
]
},
@@ -44,6 +54,14 @@
]
},
{
+ "cell_type": "markdown",
+ "id": "2b6822dd",
+ "metadata": {},
+ "source": [
+ "## Function Utilities"
+ ]
+ },
+ {
"cell_type": "code",
"execution_count": null,
"id": "c4875cc0-2d87-4c87-8789-7dc950be06c6",