langchain/templates/pyproject.toml

47 lines
881 B
TOML
Raw Normal View History

[tool.poetry]
name = "templates"
version = "0.0.0"
description = ""
authors = []
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
2023-10-27 02:44:30 +00:00
# dev, test, lint, typing
2023-10-27 02:44:30 +00:00
[tool.poetry.group.dev.dependencies]
poethepoet = "^0.24.1"
pytest-watch = "^4.2.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.4.3"
[tool.poetry.group.lint.dependencies]
ruff = "^0.1.3"
2023-10-27 02:44:30 +00:00
[tool.poetry.group.typing.dependencies]
[tool.ruff]
select = [
"E", # pycodestyle
"F", # pyflakes
"I", # isort
]
2023-10-27 02:44:30 +00:00
[tool.poe.tasks]
test = "poetry run pytest"
watch = "poetry run ptw"
lint = ["_lint", "_check_formatting"]
format = ["_lint_fix", "_format"]
2023-10-27 02:44:30 +00:00
_check_formatting = "poetry run ruff format . --diff"
_lint = "poetry run ruff ."
_format = "poetry run ruff format ."
_lint_fix = "poetry run ruff . --fix"
2023-10-27 02:44:30 +00:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"