mirror of
https://github.com/langchain-ai/langsmith-fetch.git
synced 2026-06-30 20:57:59 -04:00
57 lines
1.1 KiB
TOML
57 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "langsmith-fetch"
|
|
version = "0.3.1"
|
|
description = "LangSmith Fetch - Minimal CLI for fetching LangSmith threads and traces"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"click>=8.0",
|
|
"rich>=13.0",
|
|
"pyyaml>=6.0",
|
|
"requests>=2.31",
|
|
"python-dotenv>=1.0",
|
|
"langsmith>=0.1.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7.0",
|
|
"pytest-mock>=3.12",
|
|
"responses>=0.24",
|
|
]
|
|
dev = [
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
langsmith-fetch = "langsmith_cli.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/langsmith_cli"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py310"
|
|
|
|
[tool.ruff.lint]
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
ignore = [
|
|
"E501", # line too long (handled by formatter)
|
|
]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|