nbdev 2.3.29__py3-none-any.whl → 2.3.30__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
nbdev/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "2.3.29"
1
+ __version__ = "2.3.30"
2
2
 
3
3
  from .doclinks import nbdev_export
4
4
  from .showdoc import show_doc
nbdev/config.py CHANGED
@@ -63,6 +63,7 @@ def _apply_defaults(
63
63
  clear_all:bool_arg=False, # Remove all cell metadata and cell outputs?
64
64
  cell_number:bool_arg=True, # Add cell number to the exported file
65
65
  put_version_in_init:bool_arg=True, # Add the version to the main __init__.py in nbdev_export
66
+ skip_procs:str='', # A comma-separated list of processors that you want to skip
66
67
  ):
67
68
  "Apply default settings where missing in `cfg`."
68
69
  if getattr(cfg,'repo',None) is None:
nbdev/processors.py CHANGED
@@ -282,7 +282,8 @@ class FilterDefaults:
282
282
 
283
283
  def procs(self):
284
284
  "Processors for export"
285
- return self.base_procs() + self.xtra_procs()
285
+ skip_procs = get_config().get('skip_procs', '').split(',')
286
+ return L(self.base_procs()).filter(lambda x: x.__name__ not in skip_procs) + self.xtra_procs()
286
287
 
287
288
  def nb_proc(self, nb):
288
289
  "Get an `NBProcessor` with these processors"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nbdev
3
- Version: 2.3.29
3
+ Version: 2.3.30
4
4
  Summary: Create delightful software with Jupyter Notebooks
5
5
  Home-page: https://github.com/fastai/nbdev
6
6
  Author: Jeremy Howard and Hamel Husain
@@ -1,8 +1,8 @@
1
- nbdev/__init__.py,sha256=V0AkJoHiqkyoyngP3lLqQY3LjIUxTN1xBVL2pvMmm48,90
1
+ nbdev/__init__.py,sha256=N20VnRvvDUC9kAXnKgZJD_7suSbzb-Q1vJKDEju_eBM,90
2
2
  nbdev/_modidx.py,sha256=Pa-Ve3zq0R4qkykuda25oQ5Jw0YXa5u0ds6QK_siSmk,40577
3
3
  nbdev/clean.py,sha256=mVgsW2_g7KIXAVh8mwpj86UwMN6QVM-q33PDzA27nWw,9410
4
4
  nbdev/cli.py,sha256=qGNwsrskbVazzyKDpTjwQsQcwEqAZBlFTlehHswasHs,5608
5
- nbdev/config.py,sha256=s2H8IYB6Fv3Pe7hZjC10TtF5OM_SvDM-TEHNwcTD4xs,12163
5
+ nbdev/config.py,sha256=4vQ480tv1CrUv52m6vmj407btJOTfPyUQCDYMlE6FH4,12247
6
6
  nbdev/doclinks.py,sha256=t6tbISN4R-WyDCmXJeGjYadpc5kBGQnAIxBEsWw3kBw,10490
7
7
  nbdev/export.py,sha256=P4fzzPFs0VIaWXclfU1i3JtBdMpDNqq8lmV4oKv6n9Y,3574
8
8
  nbdev/extract_attachments.py,sha256=O4mS4EFIOXL_yQ3jmsnBStrWxGR_nPNvxLYXHtLeimw,2208
@@ -12,7 +12,7 @@ nbdev/maker.py,sha256=JrvvtG23_tgT4i-zzDrUF1GmLhdL_9j4S-dcD-GVui4,9801
12
12
  nbdev/merge.py,sha256=xmT7LMY_mQGOGl0ynqkB13M6HwJfUOTis1Xl--YDXR8,4341
13
13
  nbdev/migrate.py,sha256=3Z4i170SqtUs7nan_LbKpx-sP1EH9rrbG3BOFrIv58Y,7310
14
14
  nbdev/process.py,sha256=Vb3SN5YW2gB9rYv5ToeveOeL9qM9AGLRPXCyAFiaE3g,5853
15
- nbdev/processors.py,sha256=_tqCPskcfR9-DpBrcAgueLux8acdz3B9t6gQqKuMYLc,11858
15
+ nbdev/processors.py,sha256=CtlNBS2SUdP87XaPOXGeAF8yYgsUJURiW5Q7HNR7wt4,11975
16
16
  nbdev/qmd.py,sha256=VAxE-c1sT7y26VdyreB6j9fge-CuLbHWocRE_WbnYXg,2994
17
17
  nbdev/quarto.py,sha256=PaH3NdwgMAnAqIWM3oo9yhC0_VHvTU4ukpXNhiSOWB0,12051
18
18
  nbdev/release.py,sha256=Ucy71GzfOeOyGoeD5IoLvEaMya3-_0otDcD4gnpzCN0,14158
@@ -21,9 +21,9 @@ nbdev/serve_drv.py,sha256=IZ2acem_KKsXYYe0iUECiR_orkYLBkT1ZG_258ZS7SQ,657
21
21
  nbdev/showdoc.py,sha256=sSVyVw-hIIewJ12sxngVpvb_hoHVrmLcuZWjszqMzxE,9169
22
22
  nbdev/sync.py,sha256=eykW8weeOqoRLbNRCeKaO8QqD6_CwspOwnwgno44yxY,3088
23
23
  nbdev/test.py,sha256=_ECBd5fvfGEICIfkTI2S8w8YatL5CaPltCeDSsiH6yw,4435
24
- nbdev-2.3.29.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
- nbdev-2.3.29.dist-info/METADATA,sha256=F-eXE1W3BJB_BdC-rNuc08fKiPNcsjl9Lxc-NxP_8Qw,10398
26
- nbdev-2.3.29.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
27
- nbdev-2.3.29.dist-info/entry_points.txt,sha256=GMherdbuc27OmIuaaom4eNx5sTdCvAdNrZA6XLEZOA8,1326
28
- nbdev-2.3.29.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
29
- nbdev-2.3.29.dist-info/RECORD,,
24
+ nbdev-2.3.30.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
25
+ nbdev-2.3.30.dist-info/METADATA,sha256=nAzf_SpCTGFaJNo6cymczYungEWpFZsxQ38vdpZFWhs,10398
26
+ nbdev-2.3.30.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
27
+ nbdev-2.3.30.dist-info/entry_points.txt,sha256=GMherdbuc27OmIuaaom4eNx5sTdCvAdNrZA6XLEZOA8,1326
28
+ nbdev-2.3.30.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
29
+ nbdev-2.3.30.dist-info/RECORD,,
File without changes