Add pydocstyle to the ruff rules (#52136)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <hej.mellor@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Harry Mellor
2026-09-16 16:44:29 +00:00
committed by GitHub
co-authored by Claude Opus 5
parent 804e5377aa
commit 8c1557a79c
2002 changed files with 15024 additions and 14269 deletions
+3 -5
View File
@@ -16,9 +16,7 @@ logger = init_logger(__name__)
class ParserManager:
"""
Provides a unified Parser by composing reasoning and tool parser adapters.
"""
"""Provides a unified Parser by composing reasoning and tool parser adapters."""
@classmethod
def get_tool_parser(
@@ -80,8 +78,7 @@ class ParserManager:
model_name: str | None = None,
is_harmony: bool = False,
) -> type[Parser] | None:
"""
Get a Parser that handles both reasoning and tool parsing.
"""Get a Parser that handles both reasoning and tool parsing.
Composes the individual parsers into a ``DelegatingParser`` subclass.
@@ -95,6 +92,7 @@ class ParserManager:
Returns:
A Parser class, or None if neither parser is specified.
"""
if not tool_parser_name and not reasoning_parser_name:
return None