mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 21:37:20 +08:00
71 lines
2.0 KiB
TOML
71 lines
2.0 KiB
TOML
[tool.poetry]
|
|
name = "Chatchat"
|
|
version = "0.3.0"
|
|
description = "Langchain-Chatchat"
|
|
authors = ["chatchat"]
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/chatchat-space/Langchain-Chatchat.git"
|
|
package-mode = false
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.8.1,<3.12,!=3.9.7"
|
|
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
ruff = "^0.1.5"
|
|
model-providers = { path = "libs/model-providers", develop = true }
|
|
langchain-chatchat = { path = "libs/chatchat-server", develop = true }
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
model-providers = { path = "libs/model-providers", develop = true }
|
|
langchain-chatchat = { path = "libs/chatchat-server", develop = true }
|
|
ipykernel = "^6.29.2"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = "^7.3.0"
|
|
pytest-cov = "^4.0.0"
|
|
pytest-dotenv = "^0.5.2"
|
|
duckdb-engine = "^0.9.2"
|
|
pytest-watcher = "^0.2.6"
|
|
freezegun = "^1.2.2"
|
|
responses = "^0.22.0"
|
|
pytest-asyncio = "^0.23.2"
|
|
lark = "^1.1.5"
|
|
pytest-mock = "^3.10.0"
|
|
pytest-socket = "^0.6.0"
|
|
syrupy = "^4.0.2"
|
|
requests-mock = "^1.11.0"
|
|
|
|
[tool.ruff]
|
|
extend-include = ["*.ipynb"]
|
|
extend-exclude = [
|
|
"docs/docs/expression_language/why.ipynb" # TODO: look into why linter errors
|
|
]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"**/{cookbook,docs}/*" = [
|
|
"E402", # allow imports to appear anywhere in docs
|
|
"F401", # allow "imported but unused" example code
|
|
"F811", # allow re-importing the same module, so that cells can stay independent
|
|
"F841", # allow assignments to variables that are never read -- it's example code
|
|
]
|
|
|
|
# These files were failing the listed rules at the time ruff was adopted for notebooks.
|
|
# Don't require them to change at once, though we should look into them eventually.
|
|
"cookbook/gymnasium_agent_simulation.ipynb" = ["F821"]
|
|
"docs/docs/integrations/document_loaders/tensorflow_datasets.ipynb" = ["F821"]
|
|
|
|
[tool.poetry.plugins.dotenv]
|
|
ignore = "false"
|
|
dotenv = "dotenv:plugin"
|
|
|
|
|
|
# https://python-poetry.org/docs/repositories/
|
|
[[tool.poetry.source]]
|
|
name = "tsinghua"
|
|
url = "https://pypi.tuna.tsinghua.edu.cn/simple/"
|
|
priority = "default"
|