mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-05 04:55:14 +00:00
cli[patch]: ruff 0.5 (#23833)
This commit is contained in:
@@ -61,7 +61,7 @@ class __ModuleName__Loader(BaseLoader):
|
||||
.. code-block:: python
|
||||
|
||||
TODO: Example output
|
||||
"""
|
||||
""" # noqa: E501
|
||||
|
||||
# TODO: This method must be implemented to load documents.
|
||||
# Do not implement load(), a default implementation is already available.
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""__ModuleName__ vector stores."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import asyncio
|
||||
|
@@ -38,10 +38,10 @@ optional = true
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.lint.dependencies]
|
||||
ruff = "^0.1.8"
|
||||
ruff = "^0.5"
|
||||
|
||||
[tool.poetry.group.typing.dependencies]
|
||||
mypy = "^1.7.1"
|
||||
mypy = "^1.10"
|
||||
langchain-core = { path = "../../core", develop = true }
|
||||
|
||||
[tool.poetry.group.dev]
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test Chat__ModuleName__ chat model."""
|
||||
|
||||
from __module_name__.chat_models import Chat__ModuleName__
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test __ModuleName__ embeddings."""
|
||||
|
||||
from __module_name__.embeddings import __ModuleName__Embeddings
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test __ModuleName__LLM llm."""
|
||||
|
||||
from __module_name__.llms import __ModuleName__LLM
|
||||
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
"""Test chat model integration."""
|
||||
|
||||
|
||||
from __module_name__.chat_models import Chat__ModuleName__
|
||||
|
||||
|
||||
|
@@ -1,6 +1,5 @@
|
||||
"""Test embedding model integration."""
|
||||
|
||||
|
||||
from __module_name__.embeddings import __ModuleName__Embeddings
|
||||
|
||||
|
||||
|
@@ -1,4 +1,5 @@
|
||||
"""Test __ModuleName__ Chat API wrapper."""
|
||||
|
||||
from __module_name__ import __ModuleName__LLM
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user