Skip to content

Commit 8e69bb7

Browse files
committed
pycodestyle
1 parent 56bdf97 commit 8e69bb7

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

tableaudocumentapi/workbook.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, filename):
2424
self._dashboards = self._prepare_dashboards(self._workbookRoot)
2525

2626
self._datasources = self._prepare_datasources(
27-
self._workbookRoot)
27+
self._workbookRoot)
2828

2929
self._datasource_index = self._prepare_datasource_index(self._datasources)
3030

@@ -115,11 +115,10 @@ def _prepare_dashboards(xml_root):
115115

116116
for dash_element in dashboard_elements:
117117
dash_name = dash_element.attrib['name']
118-
dashboards.append(dash_name)
118+
dashboards.append(dash_name)
119119

120120
return dashboards
121121

122-
123122
@staticmethod
124123
def _prepare_worksheets(xml_root, ds_index):
125124
worksheets = []

test/test_workbook.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,3 @@ def test_dashboards_setup(self):
4949
wb = Workbook(DASHBOARDS_FILE)
5050
self.assertIsNotNone(wb)
5151
self.assertEqual(wb.dashboards, ['setTest'])
52-
53-

0 commit comments

Comments
 (0)