Skip to content

Commit cb403fa

Browse files
committed
fmt
1 parent 943780a commit cb403fa

File tree

3 files changed

+4
-23
lines changed

3 files changed

+4
-23
lines changed

nbdev/_modidx.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -281,27 +281,6 @@
281281
'nbdev.quarto.nbdev_sidebar': ('api/quarto.html#nbdev_sidebar', 'nbdev/quarto.py'),
282282
'nbdev.quarto.prepare': ('api/quarto.html#prepare', 'nbdev/quarto.py'),
283283
'nbdev.quarto.refresh_quarto_yml': ('api/quarto.html#refresh_quarto_yml', 'nbdev/quarto.py')},
284-
'nbdev.read': { 'nbdev.read._apply_defaults': ('api/config.html#_apply_defaults', 'nbdev/read.py'),
285-
'nbdev.read._basic_export_nb': ('api/config.html#_basic_export_nb', 'nbdev/read.py'),
286-
'nbdev.read._cfg2txt': ('api/config.html#_cfg2txt', 'nbdev/read.py'),
287-
'nbdev.read._fetch_from_git': ('api/config.html#_fetch_from_git', 'nbdev/read.py'),
288-
'nbdev.read._get_info': ('api/config.html#_get_info', 'nbdev/read.py'),
289-
'nbdev.read._git_repo': ('api/config.html#_git_repo', 'nbdev/read.py'),
290-
'nbdev.read._has_py': ('api/config.html#_has_py', 'nbdev/read.py'),
291-
'nbdev.read._nbdev_config_file': ('api/config.html#_nbdev_config_file', 'nbdev/read.py'),
292-
'nbdev.read._prompt_user': ('api/config.html#_prompt_user', 'nbdev/read.py'),
293-
'nbdev.read._type': ('api/config.html#_type', 'nbdev/read.py'),
294-
'nbdev.read._xdg_config_paths': ('api/config.html#_xdg_config_paths', 'nbdev/read.py'),
295-
'nbdev.read.add_init': ('api/config.html#add_init', 'nbdev/read.py'),
296-
'nbdev.read.config_key': ('api/config.html#config_key', 'nbdev/read.py'),
297-
'nbdev.read.create_output': ('api/config.html#create_output', 'nbdev/read.py'),
298-
'nbdev.read.get_config': ('api/config.html#get_config', 'nbdev/read.py'),
299-
'nbdev.read.is_nbdev': ('api/config.html#is_nbdev', 'nbdev/read.py'),
300-
'nbdev.read.nbdev_create_config': ('api/config.html#nbdev_create_config', 'nbdev/read.py'),
301-
'nbdev.read.show_src': ('api/config.html#show_src', 'nbdev/read.py'),
302-
'nbdev.read.update_proj': ('api/config.html#update_proj', 'nbdev/read.py'),
303-
'nbdev.read.update_version': ('api/config.html#update_version', 'nbdev/read.py'),
304-
'nbdev.read.write_cells': ('api/config.html#write_cells', 'nbdev/read.py')},
305284
'nbdev.release': { 'nbdev.release.Release': ('api/release.html#release', 'nbdev/release.py'),
306285
'nbdev.release.Release.__init__': ('api/release.html#release.__init__', 'nbdev/release.py'),
307286
'nbdev.release.Release._issue_groups': ('api/release.html#release._issue_groups', 'nbdev/release.py'),

nbdev/cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ def nbdev_new(**kwargs):
101101
if tag is None:
102102
with warnings.catch_warnings():
103103
warnings.simplefilter('ignore', UserWarning)
104-
tag = GhApi(gh_host='https://api.github.com', authenticate=False).repos.get_latest_release(org_or_usr, repo).tag_name
104+
tag = GhApi(gh_host='https://api.github.com', authenticate=False
105+
).repos.get_latest_release(org_or_usr, repo).tag_name
105106

106107
url = f"https://github.com/{org_or_usr}/{repo}/archive/{tag}.tar.gz"
107108
extract_tgz(url)

nbs/api/13_cli.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,8 @@
203203
" if tag is None:\n",
204204
" with warnings.catch_warnings():\n",
205205
" warnings.simplefilter('ignore', UserWarning)\n",
206-
" tag = GhApi(gh_host='https://api.github.com', authenticate=False).repos.get_latest_release(org_or_usr, repo).tag_name\n",
206+
" tag = GhApi(gh_host='https://api.github.com', authenticate=False\n",
207+
" ).repos.get_latest_release(org_or_usr, repo).tag_name\n",
207208
"\n",
208209
" url = f\"https://github.com/{org_or_usr}/{repo}/archive/{tag}.tar.gz\"\n",
209210
" extract_tgz(url)\n",

0 commit comments

Comments
 (0)