mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-02 11:22:41 +01:00
Fix pep8 errors in ipynb_exporter
I ran first pep8 and then pylint, so I missed the pep8 errors introduced
by me shutting up pylint 😇
This commit is contained in:
@@ -119,7 +119,7 @@ class IPythonNotebookExporter(ResultProcessor):
|
|||||||
if self.notebook_directory and not os.path.isdir(self.notebook_directory):
|
if self.notebook_directory and not os.path.isdir(self.notebook_directory):
|
||||||
raise ConfigError('notebook_directory {} does not exist'.format(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.convert_to_pdf = True
|
||||||
self.logger.debug('Assuming "convert_to_pdf" as "show_pdf" is set')
|
self.logger.debug('Assuming "convert_to_pdf" as "show_pdf" is set')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user