Skip to content

Commit 0593a8e

Browse files
committed
remove anno
1 parent 25e50cf commit 0593a8e

8 files changed

Lines changed: 11 additions & 19 deletions

File tree

nbdev/qmd.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@
22

33
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/15_qmd.ipynb.
44

5+
# %% auto #0
6+
__all__ = ['meta', 'div', 'img', 'btn', 'tbl_row', 'tbl_sep']
7+
58
# %% ../nbs/api/15_qmd.ipynb #6a35c7c4-748f-4c82-a9bf-c780a8d83e90
6-
from __future__ import annotations
79
import sys,os,inspect
810

911
from fastcore.utils import *
1012
from fastcore.meta import delegates
1113

12-
# %% auto #0
13-
__all__ = ['meta', 'div', 'img', 'btn', 'tbl_row', 'tbl_sep']
14-
1514
# %% ../nbs/api/15_qmd.ipynb #5a64f1f4
1615
def meta(md, # Markdown to add meta to
1716
classes=None, # List of CSS classes to add

nbdev/quarto.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/14_quarto.ipynb.
44

5+
# %% auto #0
6+
__all__ = ['BASE_QUARTO_URL', 'install_quarto', 'install', 'IndentDumper', 'nbdev_sidebar', 'refresh_quarto_yml',
7+
'nbdev_proc_nbs', 'nbdev_readme', 'nbdev_contributing', 'nbdev_docs', 'prepare', 'fs_watchdog',
8+
'nbdev_preview']
9+
510
# %% ../nbs/api/14_quarto.ipynb #6a35c7c4-748f-4c82-a9bf-c780a8d83e90
6-
from __future__ import annotations
711
import subprocess,sys,shutil,ast,warnings,traceback
812
from os import system
913
from contextlib import contextmanager
@@ -19,11 +23,6 @@
1923
from . import serve_drv
2024
import yaml
2125

22-
# %% auto #0
23-
__all__ = ['BASE_QUARTO_URL', 'install_quarto', 'install', 'IndentDumper', 'nbdev_sidebar', 'refresh_quarto_yml',
24-
'nbdev_proc_nbs', 'nbdev_readme', 'nbdev_contributing', 'nbdev_docs', 'prepare', 'fs_watchdog',
25-
'nbdev_preview']
26-
2726
# %% ../nbs/api/14_quarto.ipynb #aae2d2be-ad03-4536-bf70-c4575f39cea3
2827
def _sprun(cmd):
2928
try: subprocess.check_output(cmd, shell=True)

nbdev/showdoc.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/api/08_showdoc.ipynb.
44

5+
# %% auto #0
6+
__all__ = ['BasicMarkdownRenderer', 'show_doc', 'doc', 'showdoc_nm', 'colab_link']
7+
58
# %% ../nbs/api/08_showdoc.ipynb #7f371f15
6-
from __future__ import annotations
79
from .doclinks import *
810
from .config import get_config
911

@@ -16,9 +18,6 @@
1618
from textwrap import fill
1719
from types import FunctionType
1820

19-
# %% auto #0
20-
__all__ = ['BasicMarkdownRenderer', 'show_doc', 'doc', 'showdoc_nm', 'colab_link']
21-
2221
# %% ../nbs/api/08_showdoc.ipynb #abe98f5c
2322
def _ext_link(url, txt, xtra=""): return f'[{txt}]({url}){{target="_blank" {xtra}}}'
2423

nbs/api/08_showdoc.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"outputs": [],
2929
"source": [
3030
"#| export\n",
31-
"from __future__ import annotations\n",
3231
"from nbdev.doclinks import *\n",
3332
"from nbdev.config import get_config\n",
3433
"\n",

nbs/api/14_quarto.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"outputs": [],
3838
"source": [
3939
"#| export\n",
40-
"from __future__ import annotations\n",
4140
"import subprocess,sys,shutil,ast,warnings,traceback\n",
4241
"from os import system\n",
4342
"from contextlib import contextmanager\n",

nbs/api/15_qmd.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"outputs": [],
3030
"source": [
3131
"#| export\n",
32-
"from __future__ import annotations\n",
3332
"import sys,os,inspect\n",
3433
"\n",
3534
"from fastcore.utils import *\n",

nbs/tutorials/best_practices.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"outputs": [],
2121
"source": [
2222
"#| hide\n",
23-
"from __future__ import annotations\n",
2423
"import numpy as np\n",
2524
"from fastcore.test import *\n",
2625
"from nbdev.showdoc import *\n",

nbs/tutorials/extensions.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"outputs": [],
2121
"source": [
2222
"#| hide\n",
23-
"from __future__ import annotations\n",
2423
"from fastcore.test import *\n",
2524
"from nbdev.showdoc import *\n",
2625
"from nbdev.qmd import *"

0 commit comments

Comments
 (0)