Skip to content

feat(langchain): add ruff rules SLF #32112

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cbornet
Copy link
Collaborator

@cbornet cbornet commented Jul 19, 2025

Copy link

vercel bot commented Jul 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Jul 19, 2025 0:50am

@@ -190,14 +190,14 @@ def __iter__(self: AgentExecutorIterator) -> Iterator[AddableDict]:
name=self.run_name,
)
try:
while self.agent_executor._should_continue(
while self.agent_executor._should_continue( # noqa: SLF001
Copy link
Collaborator Author

@cbornet cbornet Jul 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK for AgentExecutorIterator to access private members of AgentExecutor

Copy link

codspeed-hq bot commented Jul 19, 2025

CodSpeed WallTime Performance Report

Merging #32112 will not alter performance

Comparing cbornet:langchain-ruff-slf (48ab5e3) with master (98bfd57)

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

Summary

✅ 13 untouched benchmarks

Copy link

codspeed-hq bot commented Jul 19, 2025

CodSpeed Instrumentation Performance Report

Merging #32112 will not alter performance

Comparing cbornet:langchain-ruff-slf (48ab5e3) with master (98bfd57)

Summary

✅ 14 untouched benchmarks

@sydney-runkle
Copy link
Collaborator

Nit - probably not really a feature, right? More like a chore?

@mdrxy mdrxy added the linting label Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants