Skip to content

Commit 6220815

Browse files
committed
comma-separated
1 parent eabf3f4 commit 6220815

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

nbdev/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _apply_defaults(
6363
clear_all:bool_arg=False, # Remove all cell metadata and cell outputs?
6464
cell_number:bool_arg=True, # Add cell number to the exported file
6565
put_version_in_init:bool_arg=True, # Add the version to the main __init__.py in nbdev_export
66-
skip_procs:str='', # A list of processors that you want to skip
66+
skip_procs:str='', # A comma-separated list of processors that you want to skip
6767
):
6868
"Apply default settings where missing in `cfg`."
6969
if getattr(cfg,'repo',None) is None:

nbdev/processors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def base_procs(self):
282282

283283
def procs(self):
284284
"Processors for export"
285-
skip_procs = get_config().get('skip_procs', '').split()
285+
skip_procs = get_config().get('skip_procs', '').split(',')
286286
return L(self.base_procs()).filter(lambda x: x.__name__ not in skip_procs) + self.xtra_procs()
287287

288288
def nb_proc(self, nb):

nbs/api/01_config.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
" clear_all:bool_arg=False, # Remove all cell metadata and cell outputs?\n",
154154
" cell_number:bool_arg=True, # Add cell number to the exported file\n",
155155
" put_version_in_init:bool_arg=True, # Add the version to the main __init__.py in nbdev_export\n",
156-
" skip_procs:str='', # A list of processors that you want to skip\n",
156+
" skip_procs:str='', # A comma-separated list of processors that you want to skip\n",
157157
"):\n",
158158
" \"Apply default settings where missing in `cfg`.\"\n",
159159
" if getattr(cfg,'repo',None) is None:\n",

nbs/api/10_processors.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@
779779
"\n",
780780
" def procs(self):\n",
781781
" \"Processors for export\"\n",
782-
" skip_procs = get_config().get('skip_procs', '').split()\n",
782+
" skip_procs = get_config().get('skip_procs', '').split(',')\n",
783783
" return L(self.base_procs()).filter(lambda x: x.__name__ not in skip_procs) + self.xtra_procs()\n",
784784
" \n",
785785
" def nb_proc(self, nb):\n",

0 commit comments

Comments
 (0)