Skip to content

Commit

Permalink
🐛 Fix ruff checks
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneahmed committed Feb 15, 2024
1 parent 6511502 commit 285b296
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/full-pipelines/slide-graph.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@
"import shutil\n",
"import warnings\n",
"from collections import OrderedDict\n",
"from collections.abc import Iterator\n",
"from pathlib import Path\n",
"from typing import Callable\n",
"from typing import TYPE_CHECKING, Callable\n",
"\n",
"# Third party imports\n",
"import joblib\n",
Expand Down Expand Up @@ -192,6 +191,9 @@
" WSIReader,\n",
")\n",
"\n",
"if TYPE_CHECKING: # pragma: no cover\n",
" from collections.abc import Iterator\n",
"\n",
"warnings.filterwarnings(\"ignore\")\n",
"mpl.rcParams[\"figure.dpi\"] = 300 # for high resolution figure in notebook"
]
Expand Down

0 comments on commit 285b296

Please sign in to comment.