core: Add ruff rule W293 (whitespaces) (#29272)

This commit is contained in:
Christophe Bornet 2025-01-20 21:16:12 +01:00 committed by GitHub
parent 4efc5093c1
commit e5d62c6ce7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -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/*",]