mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-12 07:59:04 +00:00
Merge pull request #8 from JaviMerino/fix_pep8
Fix pep8 errors in ipynb_exporter
This commit is contained in:
commit
4195ca591c
@ -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')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user