##// END OF EJS Templates
pylint plus sphinx default to non-interactive.
Matthias BUSSONNIER -
Show More
@@ -15,8 +15,6 b' Exporter that exports Basic HTML.'
15 #-----------------------------------------------------------------------------
15 #-----------------------------------------------------------------------------
16
16
17 from IPython.utils.traitlets import Unicode
17 from IPython.utils.traitlets import Unicode
18 from IPython.config import Config
19 from copy import deepcopy
20
18
21 import nbconvert.transformers.csshtmlheader
19 import nbconvert.transformers.csshtmlheader
22
20
@@ -13,8 +13,6 b' Module containing single call export functions.'
13 # Imports
13 # Imports
14 #-----------------------------------------------------------------------------
14 #-----------------------------------------------------------------------------
15
15
16 import sys
17 import inspect
18 from functools import wraps
16 from functools import wraps
19
17
20 from IPython.nbformat.v3.nbbase import NotebookNode
18 from IPython.nbformat.v3.nbbase import NotebookNode
@@ -209,4 +207,4 b' def export_by_name(template_name, nb, config=None, transformers=None, filters=No'
209 return globals()[function_name](nb, config, transformers, filters)
207 return globals()[function_name](nb, config, transformers, filters)
210 else:
208 else:
211 return None
209 return None
212 No newline at end of file
210
@@ -290,8 +290,8 b' class Exporter(Configurable):'
290 """
290 """
291 Register all of the filters required for the exporter.
291 Register all of the filters required for the exporter.
292 """
292 """
293 for k,v in default_filters.iteritems():
293 for k, v in default_filters.iteritems():
294 self.register_filter(k,v)
294 self.register_filter(k, v)
295
295
296
296
297 def _init_environment(self):
297 def _init_environment(self):
@@ -16,16 +16,11 b' tags to circumvent Jinja/Latex syntax conflicts.'
16 # Imports
16 # Imports
17 #-----------------------------------------------------------------------------
17 #-----------------------------------------------------------------------------
18
18
19 # Stdlib imports
20 import os
21
22 # IPython imports
19 # IPython imports
23 from IPython.utils.traitlets import Unicode
20 from IPython.utils.traitlets import Unicode
24 from IPython.config import Config
21 from IPython.config import Config
25
22
26 # other libs/dependencies
23 # other libs/dependencies
27 from jinja2 import Environment, FileSystemLoader
28
29 import nbconvert.filters.latex
24 import nbconvert.filters.latex
30 import nbconvert.filters.highlight
25 import nbconvert.filters.highlight
31 from nbconvert.transformers.latex import LatexTransformer
26 from nbconvert.transformers.latex import LatexTransformer
@@ -49,7 +49,7 b' class SphinxTransformer(ActivatableTransformer):'
49 Sphinx stylized templates.
49 Sphinx stylized templates.
50 """
50 """
51
51
52 interactive = Bool(True, config=True, help="""
52 interactive = Bool(False, config=True, help="""
53 Allows you to define whether or not the Sphinx exporter will prompt
53 Allows you to define whether or not the Sphinx exporter will prompt
54 you for input during the conversion process. If this is set to false,
54 you for input during the conversion process. If this is set to false,
55 the author, version, release, date, and chapter_style traits should
55 the author, version, release, date, and chapter_style traits should
General Comments 0
You need to be logged in to leave comments. Login now