cli[patch]: ruff 0.5 (#23833)

This commit is contained in:
Bagatur
2024-07-03 14:33:15 -04:00
committed by GitHub
parent 55f6f91f17
commit a4798802ef
19 changed files with 42 additions and 29 deletions

View File

@@ -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.

View File

@@ -1,4 +1,5 @@
"""__ModuleName__ vector stores."""
from __future__ import annotations
import asyncio

View File

@@ -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]

View File

@@ -1,4 +1,5 @@
"""Test Chat__ModuleName__ chat model."""
from __module_name__.chat_models import Chat__ModuleName__

View File

@@ -1,4 +1,5 @@
"""Test __ModuleName__ embeddings."""
from __module_name__.embeddings import __ModuleName__Embeddings

View File

@@ -1,4 +1,5 @@
"""Test __ModuleName__LLM llm."""
from __module_name__.llms import __ModuleName__LLM

View File

@@ -1,6 +1,5 @@
"""Test chat model integration."""
from __module_name__.chat_models import Chat__ModuleName__

View File

@@ -1,6 +1,5 @@
"""Test embedding model integration."""
from __module_name__.embeddings import __ModuleName__Embeddings

View File

@@ -1,4 +1,5 @@
"""Test __ModuleName__ Chat API wrapper."""
from __module_name__ import __ModuleName__LLM