From 86f543cb72389389fe157fadddce4418eb62b458 Mon Sep 17 00:00:00 2001 From: Javi Merino Date: Wed, 15 Apr 2015 14:34:23 +0100 Subject: [PATCH] Fix pep8 errors in ipynb_exporter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I ran first pep8 and then pylint, so I missed the pep8 errors introduced by me shutting up pylint 😇 --- wlauto/result_processors/ipynb_exporter/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wlauto/result_processors/ipynb_exporter/__init__.py b/wlauto/result_processors/ipynb_exporter/__init__.py index 0552349b..8272a517 100644 --- a/wlauto/result_processors/ipynb_exporter/__init__.py +++ b/wlauto/result_processors/ipynb_exporter/__init__.py @@ -119,7 +119,7 @@ class IPythonNotebookExporter(ResultProcessor): if self.notebook_directory and not os.path.isdir(self.notebook_directory): raise ConfigError('notebook_directory {} does not exist'.format(self.notebook_directory)) - if self.show_pdf and not self.convert_to_pdf: #pylint: disable=E0203 + if self.show_pdf and not self.convert_to_pdf: # pylint: disable=E0203 self.convert_to_pdf = True self.logger.debug('Assuming "convert_to_pdf" as "show_pdf" is set') @@ -173,7 +173,7 @@ class IPythonNotebookExporter(ResultProcessor): kernel_manager.shutdown_kernel() - def run_cell(self, kernel_client, cell): # pylint: disable=R0201 + def run_cell(self, kernel_client, cell): # pylint: disable=R0201 """Run a cell of a notebook in an ipython kernel and return its output""" kernel_client.shell_channel.execute(cell.input)