mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-24 20:09:01 +00:00
multiple: Remove unnecessary Ruff suppression comments (#21050)
## Summary I ran `ruff check --extend-select RUF100 -n` to identify `# noqa` comments that weren't having any effect in Ruff, and then `ruff check --extend-select RUF100 -n --fix` on select files to remove all of the unnecessary `# noqa: F401` violations. It's possible that these were needed at some point in the past, but they're not necessary in Ruff v0.1.15 (used by LangChain) or in the latest release. Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
@@ -5,46 +5,46 @@ from typing import TYPE_CHECKING, Any
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from langchain_community.graphs.arangodb_graph import (
|
||||
ArangoGraph, # noqa: F401
|
||||
ArangoGraph,
|
||||
)
|
||||
from langchain_community.graphs.falkordb_graph import (
|
||||
FalkorDBGraph, # noqa: F401
|
||||
FalkorDBGraph,
|
||||
)
|
||||
from langchain_community.graphs.gremlin_graph import (
|
||||
GremlinGraph, # noqa: F401
|
||||
GremlinGraph,
|
||||
)
|
||||
from langchain_community.graphs.hugegraph import (
|
||||
HugeGraph, # noqa: F401
|
||||
HugeGraph,
|
||||
)
|
||||
from langchain_community.graphs.kuzu_graph import (
|
||||
KuzuGraph, # noqa: F401
|
||||
KuzuGraph,
|
||||
)
|
||||
from langchain_community.graphs.memgraph_graph import (
|
||||
MemgraphGraph, # noqa: F401
|
||||
MemgraphGraph,
|
||||
)
|
||||
from langchain_community.graphs.nebula_graph import (
|
||||
NebulaGraph, # noqa: F401
|
||||
NebulaGraph,
|
||||
)
|
||||
from langchain_community.graphs.neo4j_graph import (
|
||||
Neo4jGraph, # noqa: F401
|
||||
Neo4jGraph,
|
||||
)
|
||||
from langchain_community.graphs.neptune_graph import (
|
||||
NeptuneGraph, # noqa: F401
|
||||
NeptuneGraph,
|
||||
)
|
||||
from langchain_community.graphs.neptune_rdf_graph import (
|
||||
NeptuneRdfGraph, # noqa: F401
|
||||
NeptuneRdfGraph,
|
||||
)
|
||||
from langchain_community.graphs.networkx_graph import (
|
||||
NetworkxEntityGraph, # noqa: F401
|
||||
NetworkxEntityGraph,
|
||||
)
|
||||
from langchain_community.graphs.ontotext_graphdb_graph import (
|
||||
OntotextGraphDBGraph, # noqa: F401
|
||||
OntotextGraphDBGraph,
|
||||
)
|
||||
from langchain_community.graphs.rdf_graph import (
|
||||
RdfGraph, # noqa: F401
|
||||
RdfGraph,
|
||||
)
|
||||
from langchain_community.graphs.tigergraph_graph import (
|
||||
TigerGraph, # noqa: F401
|
||||
TigerGraph,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
|
Reference in New Issue
Block a user