[Docs] Add ruff linting to .ipynb files (#645)

This commit is contained in:
William FH
2024-06-11 18:02:49 -07:00
committed by GitHub
parent 854bf2c295
commit 4eab1739da
67 changed files with 741 additions and 850 deletions
+6 -4
View File
@@ -39,10 +39,12 @@
"outputs": [],
"source": [
"import random\n",
"from typing import Annotated, Literal\n",
"\n",
"from typing_extensions import TypedDict\n",
"\n",
"from langgraph.graph import StateGraph\n",
"from langgraph.graph.message import add_messages\n",
"from typing_extensions import TypedDict\n",
"from typing import Annotated, Literal\n",
"\n",
"\n",
"class State(TypedDict):\n",
@@ -265,8 +267,8 @@
}
],
"source": [
"from langchain_core.runnables.graph import CurveStyle, NodeColors, MermaidDrawMethod\n",
"from IPython.display import display, HTML, Image\n",
"from IPython.display import Image, display\n",
"from langchain_core.runnables.graph import CurveStyle, MermaidDrawMethod, NodeColors\n",
"\n",
"display(\n",
" Image(\n",