chore: enforce ruff docstring rules in integrations 21-30 (langfuse, lara, llama_cpp, llama_stack, mcp, meta_llama, mistral, mongodb_atlas, nvidia, ollama)#3010
Merged
julian-risch merged 1 commit intomainfrom Mar 23, 2026
Conversation
…19) in integrations 21-30 Adds D102, D103, D205, D209, D213, D417, D419 ruff rules to pyproject.toml for: langfuse, lara, llama_cpp, llama_stack, mcp, meta_llama, mistral, mongodb_atlas, nvidia, ollama. Fixes all resulting docstring violations. Part of #2947 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Mar 20, 2026
This was referenced 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 3/5 of #2947
Proposed Changes:
pyproject.tomlfor 10 integrations: langfuse, lara, llama_cpp, llama_stack, mcp, meta_llama, mistral, mongodb_atlas, nvidia, ollamaruff --fix; D205/D102 violations fixed manually"D"toexamples/**per-file-ignores for langfuse and mcp (example files don't need docstrings)How did you test it?
Ran tests locally
Notes for the reviewer
This is batch 3 of the docstring rules enforcement. Batch 1 (aimlapi through cometapi) was #3008, batch 2 (deepeval through kreuzberg) was #3009.
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.The failing Nvidia tests are unrelated and I wouldn't block this PR because of them.
Checklist
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.