chore: enforce ruff docstring rules in integrations 41-47 (stackit, togetherai, unstructured, valkey, watsonx, weave, weaviate)#3012
Merged
julian-risch merged 2 commits intomainfrom Mar 24, 2026
Conversation
…19) in integrations 41-47 Adds D102, D103, D205, D209, D213, D417, D419 ruff rules to pyproject.toml for: stackit, togetherai, unstructured, valkey, watsonx, weave, weaviate. Fixes all resulting docstring violations. Part of #2947 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
bogdankostic
left a comment
There was a problem hiding this comment.
Looking good in principle, just found one docstring where we should remove the default model from.
Removed default model documentation from TogetherAIChatGenerator.
bogdankostic
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
Part 5/5 of #2947
Proposed Changes:
pyproject.tomlfor 7 integrations: stackit, togetherai, unstructured, valkey, watsonx, weave, weaviateruff --fix; D205/D102/D103 violations fixed manually"D"toexamples/**/example/**per-file-ignores where those directories existwatsonxneeded no source code changes (onlypyproject.toml)How did you test it?
Ran for each integration:
hatch run fmt-check— all passhatch run test:types— all pass (pre-existing mypy errors in stackit and watsonx are unrelated to docstrings)hatch run test:unit— all passNotes for the reviewer
This is batch 5 (final) of the docstring rules enforcement. Previous batches: #3008, #3009, #3010, #3011.
I thought about adding D107, which is not mentioned in the issue. D107 checks that
__init__method definitions have docstrings. I could open one separate PR that adds D107 to all integrations and one PR to add it to Haystack if we agree its beneficial. For consistency it makes sense but there is not much value added but the__init__docstrings so it's not of importance.Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.