mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-25 04:49:17 +00:00
core: Add ruff rules PLR (#30696)
Add ruff rules [PLR](https://docs.astral.sh/ruff/rules/#refactor-plr) Except PLR09xxx and PLR2004. Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
This commit is contained in:
committed by
GitHub
parent
68361f9c2d
commit
4cc7bc6c93
@@ -112,11 +112,8 @@ def pytest_collection_modifyitems(
|
||||
pytest.mark.skip(reason=f"Requires pkg: `{pkg}`")
|
||||
)
|
||||
break
|
||||
else:
|
||||
if only_extended:
|
||||
item.add_marker(
|
||||
pytest.mark.skip(reason="Skipping not an extended test.")
|
||||
)
|
||||
elif only_extended:
|
||||
item.add_marker(pytest.mark.skip(reason="Skipping not an extended test."))
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import langchain_core.tracers.schemas as schemas
|
||||
from langchain_core.tracers import schemas
|
||||
from langchain_core.tracers.schemas import __all__ as schemas_all
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user