From 6e20c9f3f95d9bb9eceb2b679ecac3161dade272 Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Mon, 10 Feb 2025 14:35:07 -0500 Subject: [PATCH] docs: update codespell config (#3373) --- .github/workflows/extract_ignored_words_list.py | 2 +- docs/pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/extract_ignored_words_list.py b/.github/workflows/extract_ignored_words_list.py index c91e71bc4..bb949d14f 100644 --- a/.github/workflows/extract_ignored_words_list.py +++ b/.github/workflows/extract_ignored_words_list.py @@ -1,6 +1,6 @@ import toml -pyproject_toml = toml.load("../libs/langgraph/pyproject.toml") +pyproject_toml = toml.load("pyproject.toml") # Extract the ignore words list (adjust the key as per your TOML structure) ignore_words_list = ( diff --git a/docs/pyproject.toml b/docs/pyproject.toml index 3c34e2efd..6cf973bc4 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -77,3 +77,7 @@ extend-include = ["*.ipynb"] "E722", # allow base imports in notebooks ] +[tool.codespell] +# https://mypy.readthedocs.io/en/stable/config_file.html +# comma-separated list +ignore-words-list = "infor"