Skip to content

Commit

Permalink
Some codacy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] authored and [email protected] committed Sep 17, 2020
1 parent 02d4029 commit 5efd361
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion qcodes/interactive_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ def _get_plot_button(ds: DataSet, tab: Tab) -> Button:
)


def _experiment_widget(data_sets: Iterable[DataSet], tab: Tab) -> GridspecLayout:
def _experiment_widget(data_sets: Iterable[DataSet], tab: Tab
) -> GridspecLayout:
"""Show a `ipywidgets.GridspecLayout` with information about the
loaded experiment. The clickable buttons can perform an action in ``tab``.
"""
Expand Down
4 changes: 2 additions & 2 deletions qcodes/tests/test_interactive_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
)


@pytest.fixture(scope="function")
def tab():
@pytest.fixture(name="tab", scope="function")
def _create_tab():
yield interactive_widget.create_tab()


Expand Down

0 comments on commit 5efd361

Please sign in to comment.