mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-15 22:44:36 +00:00
core: Add ruff rules for Pylint PLC (Convention) and PLE (Errors) (#29286)
See https://docs.astral.sh/ruff/rules/#pylint-pl
This commit is contained in:
committed by
GitHub
parent
fe0fd9dd70
commit
ccc3d32ec8
@@ -1,5 +1,4 @@
|
||||
import time
|
||||
from typing import Optional as Optional
|
||||
|
||||
import pytest
|
||||
from blockbuster import BlockBuster
|
||||
|
@@ -1,7 +1,5 @@
|
||||
"""Module to test base parser implementations."""
|
||||
|
||||
from typing import Optional as Optional
|
||||
|
||||
from langchain_core.exceptions import OutputParserException
|
||||
from langchain_core.language_models import GenericFakeChatModel
|
||||
from langchain_core.messages import AIMessage
|
||||
|
@@ -5,7 +5,6 @@ import sys
|
||||
from collections.abc import AsyncIterator, Sequence
|
||||
from itertools import cycle
|
||||
from typing import Any, cast
|
||||
from typing import Optional as Optional
|
||||
|
||||
import pytest
|
||||
from pydantic import BaseModel
|
||||
|
Reference in New Issue
Block a user