mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
format
This commit is contained in:
@@ -8,8 +8,8 @@ from langchain_anthropic.chat_models import (
|
||||
from langchain_anthropic.llms import AnthropicLLM
|
||||
|
||||
__all__ = [
|
||||
"__version__",
|
||||
"AnthropicLLM",
|
||||
"ChatAnthropic",
|
||||
"__version__",
|
||||
"convert_to_anthropic_tool",
|
||||
]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
"""Check version consistency between `pyproject.toml` and `_version.py`.
|
||||
|
||||
This script validates that the version defined in pyproject.toml matches the `__version__`
|
||||
variable in `langchain_anthropic/_version.py`. Intended for use as a pre-commit hook to
|
||||
prevent version mismatches.
|
||||
This script validates that the version defined in pyproject.toml matches the
|
||||
`__version__` variable in `langchain_anthropic/_version.py`. Intended for use as a
|
||||
pre-commit hook to prevent version mismatches.
|
||||
"""
|
||||
|
||||
import re
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from langchain_anthropic import __all__
|
||||
|
||||
EXPECTED_ALL = [
|
||||
"__version__",
|
||||
"ChatAnthropic",
|
||||
"convert_to_anthropic_tool",
|
||||
"AnthropicLLM",
|
||||
|
||||
Reference in New Issue
Block a user