langchain/libs/cli/pyproject.toml
Erick Friis 4db8d82c55
CLI CI 2 (#12387)
Will run all CI because of _test change, but future PRs against CLI will
only trigger the new CLI one

Has a bunch of file changes related to formatting/linting.

No mypy yet - coming soon
2023-10-26 17:01:31 -07:00

50 lines
1014 B
TOML

[tool.poetry]
name = "langchain-cli"
version = "0.0.5"
description = "CLI for interacting with LangChain"
authors = ["Erick Friis <erick@langchain.dev>"]
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
typer = {extras = ["all"], version = "^0.9.0"}
tomli = "^2.0.1"
gitpython = "^3.1.40"
langserve = "^0.0.16"
fastapi = "^0.104.0"
uvicorn = "^0.23.2"
[tool.poetry.scripts]
langchain = "langchain_cli.cli:app"
langchain-cli = "langchain_cli.cli:app"
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.24.1"
pytest = "^7.4.2"
pytest-watch = "^4.2.0"
[tool.poetry.group.lint.dependencies]
ruff = "^0.1.3"
[tool.poetry.group.test.dependencies]
[tool.poetry.group.typing.dependencies]
[tool.ruff]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
]
[tool.poe.tasks]
test = "poetry run pytest"
watch = "poetry run ptw"
lint = "poetry run ruff ."
format = "poetry run ruff . --fix"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"