chore(langchain): add ruff rules ARG#32110
chore(langchain): add ruff rules ARG#32110Mason Daugherty (mdrxy) merged 2 commits intolangchain-ai:masterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
CodSpeed WallTime Performance ReportMerging #32110 will not alter performanceComparing
|
CodSpeed Instrumentation Performance ReportMerging #32110 will not alter performanceComparing Summary
|
0b78637 to
9c56fee
Compare
| total: int, | ||
| ncols: int = 50, | ||
| end_with: str = "\n", | ||
| **kwargs: Any, |
There was a problem hiding this comment.
ProgressBarCallback doesn't use kwargs.
It seems it was there by mistake and nobody would call it with args other than the named args of the signature.
In theory it would be a breaking change, but in practice I think it's OK.
LMK if you prefer to keep the kwargs.
There was a problem hiding this comment.
Deferring to Eugene Yurtsev (@eyurtsev) for decision
907029a to
065ee59
Compare
065ee59 to
21e62b1
Compare
21e62b1 to
d242559
Compare
efdfa00
into
langchain-ai:master
See https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg Co-authored-by: Mason Daugherty <mason@langchain.dev>
See https://docs.astral.sh/ruff/rules/#flake8-unused-arguments-arg