Files
langchain/libs/partners/ollama/pyproject.toml
2025-02-06 13:36:26 -05:00

77 lines
1.8 KiB
TOML

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
authors = []
license = {text = "MIT"}
requires-python = "<4.0,>=3.9"
dependencies = [
"ollama<1,>=0.4.4",
"langchain-core<1.0.0,>=0.3.33",
]
name = "langchain-ollama"
version = "0.2.3"
description = "An integration package connecting Ollama and LangChain"
readme = "README.md"
[project.urls]
"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/partners/ollama"
"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-ollama%3D%3D0%22&expanded=true"
repository = "https://github.com/langchain-ai/langchain"
[dependency-groups]
test = [
"pytest<8.0.0,>=7.4.3",
"pytest-asyncio<1.0.0,>=0.23.2",
"syrupy<5.0.0,>=4.0.2",
"pytest-socket<1.0.0,>=0.7.0",
"pytest-watcher<1.0.0,>=0.3.4",
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
"langchain-tests @ file:///${PROJECT_ROOT}/../../standard-tests",
]
codespell = [
"codespell<3.0.0,>=2.2.6",
]
test_integration = []
lint = [
"ruff<1.0.0,>=0.1.8",
]
dev = [
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
]
typing = [
"mypy<2.0.0,>=1.7.1",
"langchain-core @ file:///${PROJECT_ROOT}/../../core",
]
[tool.mypy]
disallow_untyped_defs = "True"
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"T201", # print
"D", # pydocstyle
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["D"] # ignore docstring checks for tests
[tool.coverage.run]
omit = ["tests/*"]
[tool.pytest.ini_options]
addopts = "--snapshot-warn-unused --strict-markers --strict-config --durations=5"
markers = [
"compile: mark placeholder test used to compile integration tests without running them",
]
asyncio_mode = "auto"