Skip to content

Commit

Permalink
core: Add ruff rule W293 (whitespaces) (#29272)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet authored Jan 20, 2025
1 parent 4efc509 commit e5d62c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/core/langchain_core/messages/ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion libs/core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*",]
Expand Down

0 comments on commit e5d62c6

Please sign in to comment.