mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* precommit: add `pyproject`'s hooks * apply precommit * Update dev_config/python/.pre-commit-config.yaml --------- Co-authored-by: Engel Nyst <enyst@users.noreply.github.com> Co-authored-by: Robert Brennan <accounts@rbren.io>
64 lines
1.3 KiB
TOML
64 lines
1.3 KiB
TOML
[tool.poetry]
|
|
name = "opendevin"
|
|
version = "0.1.0"
|
|
description = "OpenDevin: Code Less, Make More"
|
|
authors = ["OpenDevin"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/OpenDevin/OpenDevin"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.11"
|
|
datasets = "*"
|
|
pandas = "*"
|
|
litellm = "*"
|
|
google-generativeai = "*" # To use litellm with Gemini Pro API
|
|
termcolor = "*"
|
|
seaborn = "*"
|
|
docker = "*"
|
|
fastapi = "*"
|
|
toml = "*"
|
|
uvicorn = "*"
|
|
types-toml = "*"
|
|
numpy = "*"
|
|
json-repair = "*"
|
|
playwright = "*"
|
|
e2b = "^0.14.13"
|
|
pexpect = "*"
|
|
jinja2 = "^3.1.3"
|
|
|
|
[tool.poetry.group.llama-index.dependencies]
|
|
llama-index = "*"
|
|
llama-index-vector-stores-chroma = "*"
|
|
chromadb = "*"
|
|
llama-index-embeddings-huggingface = "*"
|
|
llama-index-embeddings-azure-openai = "*"
|
|
llama-index-embeddings-ollama = "*"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
ruff = "0.3.7"
|
|
mypy = "1.9.0"
|
|
pre-commit = "3.7.0"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = "*"
|
|
pytest-cov = "*"
|
|
pytest-asyncio = "*"
|
|
|
|
[tool.poetry.group.evaluation.dependencies]
|
|
torch = "2.2.2"
|
|
|
|
[build-system]
|
|
build-backend = "poetry.core.masonry.api"
|
|
requires = [
|
|
"poetry-core",
|
|
]
|
|
|
|
[tool.autopep8]
|
|
# autopep8 fights with mypy on line length issue
|
|
ignore = [ "E501" ]
|
|
|
|
[tool.black]
|
|
# prevent black (if installed) from changing single quotes to double quotes
|
|
skip-string-normalization = true
|