-
Notifications
You must be signed in to change notification settings - Fork 19k
chore(langchain): add ruff rule E501 in langchain_v1
#32812
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 #32812 will not alter performanceComparing
|
CodSpeed Instrumentation Performance ReportMerging #32812 will not alter performanceComparing Summary
|
langchain_v1
7c2f994
to
c9055ae
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 enforces the E501 (line too long) linting rule for the langchain/agents/*
directory by removing the rule exception and reformatting all long lines to comply with the length limit.
- Removes E501 exception from the pyproject.toml configuration
- Splits long string literals and function arguments across multiple lines
- Reformats docstrings and comments to respect line length limits
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
libs/langchain_v1/pyproject.toml |
Removes E501 exception for agents directory |
libs/langchain_v1/langchain/agents/tool_node.py |
Reformats long strings, comments, and error messages |
libs/langchain_v1/langchain/agents/structured_output.py |
Splits long docstrings and error messages |
libs/langchain_v1/langchain/agents/react_agent.py |
Reformats extensive docstrings and error messages |
libs/langchain_v1/langchain/agents/middleware/types.py |
Splits long docstring |
libs/langchain_v1/langchain/agents/middleware/summarization.py |
Adds noqa comment for template string |
libs/langchain_v1/langchain/agents/middleware/prompt_caching.py |
Reformats docstrings and error messages |
libs/langchain_v1/langchain/agents/middleware/human_in_the_loop.py |
Splits long error message strings |
libs/langchain_v1/langchain/agents/interrupt.py |
Reformats docstring structure |
libs/langchain_v1/langchain/agents/middleware/prompt_caching.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.