mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* lint: simplify hooks already covered by Ruff * prune dev dependency * setting E, W, F * poetry? * autopep8 * quote-style = "single" * double-quote-string-fixer * --all-files * apply * Q * drop double-quote-string-fixer * --all-files * apply pre-commit * python3.11 -m poetry lock --no-update --------- Co-authored-by: Robert Brennan <accounts@rbren.io>
60 lines
1.3 KiB
TOML
60 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 = "*"
|
|
|
|
[tool.poetry.group.evaluation.dependencies]
|
|
torch = "*"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[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
|