-
Notifications
You must be signed in to change notification settings - Fork 19.2k
chore(langchain): add ruff rules D (except D100 and D104) #31994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub. |
CodSpeed WallTime Performance ReportMerging #31994 will not alter performanceComparing
|
a3130b6
to
63916b4
Compare
CodSpeed Instrumentation Performance ReportMerging #31994 will not alter performanceComparing Summary
|
1a731d6
to
ff6b28d
Compare
ff6b28d
to
cf6a996
Compare
cf6a996
to
dc14217
Compare
0542395
to
6bfc242
Compare
6bfc242
to
772a1c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds additional ruff linting rules from the pydocstyle (D) category except for D100 and D104. The changes focus on enforcing proper docstring formatting standards across the langchain codebase.
Key changes include:
- Standardizing docstring formats to end with periods
- Updating multi-line docstrings to follow proper formatting guidelines
- Removing unnecessary empty lines after docstring opening quotes
- Converting single-line docstrings that spanned multiple lines to proper single-line format
Reviewed Changes
Copilot reviewed 142 out of 143 changed files in this pull request and generated 3 comments.
File | Description |
---|---|
pyproject.toml | Expanded ruff rules from D1 to full D suite, added scripts exclusion |
test files (multiple) | Fixed docstring period endings and multi-line formatting |
source files (multiple) | Standardized docstring formatting, removed unnecessary empty lines |
integration test files | Enhanced docstring documentation with proper Args/Returns sections |
1a788ab
to
a91948f
Compare
a91948f
to
37b593e
Compare
See https://docs.astral.sh/ruff/rules/#pydocstyle-d