mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 19:49:09 +00:00
core: Add ruff rule W293 (whitespaces) (#29272)
This commit is contained in:
parent
4efc5093c1
commit
e5d62c6ce7
@ -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]
|
||||
|
@ -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/*",]
|
||||
|
Loading…
Reference in New Issue
Block a user