langchain-ai
langchain
BlogDocsChangelog

chore(core): add ruff rule `PLR2004`

#33706
Comparing
cbornet:core-plr2004
(
866d8fe
) with
master
(
e5e1d6c
)
CodSpeed Performance Gauge
+2%
Untouched
13
Skipped
21

Benchmarks

Skipped (21)

Passed

test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+4%
539.6 ms520.5 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
494.9 ms480 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
192.7 ms187.1 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
465.3 ms452.2 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
631 ms614.9 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
444.2 ms432.8 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+3%
600 ms584.8 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
179 ms174.7 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
271.2 ms265.3 ms
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
528.1 ms517.9 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
+2%
512.7 ms503.3 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
CodSpeed Performance Gauge
+1%
23.9 ms23.8 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py
CodSpeed Performance Gauge
0%
490.2 ms487.7 ms

Commits

Click on a commit to change the comparison range
Base
master
e5e1d6c
-0.09%
chore(core): add ruff rule PLR2004
84a9bdb
7 days ago
by cbornet
+2.06%
Merge branch 'master' into core-plr2004
39717b6
7 days ago
by mdrxy
+0.35%
Apply suggestions from code review Co-authored-by: Mason Daugherty <mason@langchain.dev>
866d8fe
7 days ago
by cbornet
© 2025 CodSpeed Technology
Home Terms Privacy Docs