The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
core: Add ruff rule W293 (whitespaces) (#29272)
Christophe Bornete5d62c6ce789
diff --git a/libs/core/langchain_core/messages/ai.py b/libs/core/langchain_core/messages/ai.pyindex 727a0045ff..074bbf9a56 100644--- a/libs/core/langchain_core/messages/ai.py+++ b/libs/core/langchain_core/messages/ai.py@@ -128,7 +128,7 @@ class UsageMetadata(TypedDict):"""Total token count. Sum of input_tokens + output_tokens."""input_token_details: NotRequired[InputTokenDetails]"""Breakdown of input token counts.-+Does *not* need to sum to full input token count. Does *not* need to have all keys."""output_token_details: NotRequired[OutputTokenDetails]diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.tomlindex 489bda0580..1342e7f131 100644--- a/libs/core/pyproject.toml+++ b/libs/core/pyproject.toml@@ -45,7 +45,7 @@ python = ">=3.12.4"[tool.ruff.lint]select = [ "ASYNC", "B", "C4", "COM", "DJ", "E", "EM", "EXE", "F", "FLY", "FURB", "I", "ICN", "INT", "LOG", "N", "NPY", "PD", "PIE", "Q", "RSE", "S", "SIM", "SLOT", "T10", "T201", "TID", "UP", "W", "YTT",]-ignore = [ "COM812", "UP007", "W293", "S101", "S110", "S112",]+ignore = [ "COM812", "UP007", "S101", "S110", "S112",][tool.coverage.run]omit = [ "tests/*",]