Skip to content

Commit 6b8119b

Browse files
committed
fix flake8 issue
1 parent 0216b21 commit 6b8119b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/source/_exts/widget_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def run(self):
4040
),
4141
"Live Example": _interactive_widget(
4242
name=example_name,
43-
use_activate_button="live-example-is-default-tab" not in self.options,
43+
with_activate_button="live-example-is-default-tab" not in self.options,
4444
),
4545
}
4646

@@ -103,10 +103,10 @@ def _literal_include_js(name, linenos):
103103
)
104104

105105

106-
def _interactive_widget(name, use_activate_button):
106+
def _interactive_widget(name, with_activate_button):
107107
return _interactive_widget_template.format(
108108
name=name,
109-
activate_button_opt="" if use_activate_button else ":no-activate-button:",
109+
activate_button_opt="" if with_activate_button else ":no-activate-button:",
110110
)
111111

112112

0 commit comments

Comments
 (0)