Skip to content

Commit

Permalink
Fix code with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
itepifanio committed Mar 3, 2024
1 parent d888472 commit cb06e3b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ipywatch/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# %% ../nbs/02_widget_history.ipynb 3
from collections import deque
from typing import Any, Deque, Dict, Iterator
from typing import Any, Dict, Iterator

# %% ../nbs/02_widget_history.ipynb 4
class WidgetStateHistory:
Expand Down
2 changes: 2 additions & 0 deletions nbs/00_comm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"outputs": [],
"source": [
"#| hide\n",
"from IPython.display import display\n",
"\n",
"import solara\n",
"import ipywidgets as widgets\n",
"from ipywidgets.widgets import widget as widget_module\n",
Expand Down
5 changes: 1 addition & 4 deletions nbs/01_reacton.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@
"outputs": [],
"source": [
"#| hide\n",
"from typing import Optional\n",
"\n",
"import solara\n",
"import reacton as react\n",
"import ipywidgets as widgets\n",
"from reacton import ipywidgets as react_widgets\n",
"from reacton.core import _RenderContext, ComponentContext, Element"
"from reacton.core import _RenderContext, Element"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion nbs/02_widget_history.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"source": [
"#| exporti\n",
"from collections import deque\n",
"from typing import Any, Deque, Dict, Iterator"
"from typing import Any, Dict, Iterator"
]
},
{
Expand Down

0 comments on commit cb06e3b

Please sign in to comment.