chore(langchain): enable ruff docstring-code-format in langchain#32858
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
c44a93a to
6f8e573
Compare
6f8e573 to
34a12c2
Compare
CodSpeed WallTime Performance ReportMerging #32858 will not alter performanceComparing
|
CodSpeed Instrumentation Performance ReportMerging #32858 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Pull Request Overview
This PR enables ruff's docstring-code-format feature in the langchain library by adding the configuration to pyproject.toml and reformatting code blocks in docstrings throughout the codebase to meet the formatting standards.
Key Changes
- Enable ruff docstring code formatting in pyproject.toml
- Format code blocks within docstrings for better readability and consistency
- Break up long string literals that exceeded line length limits
Reviewed Changes
Copilot reviewed 61 out of 63 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
pyproject.toml |
Added ruff docstring-code-format configuration |
| Various test files | Reformatted long string literals and multiline code blocks |
| Various source files | Reformatted docstring code examples and broke up long string concatenations |
No description provided.