Files
LLMWiki/pyproject.toml
2026-06-04 09:58:45 +08:00

50 lines
923 B
TOML

[project]
name = "LLM-wiki"
version = "0.1.0"
description = "本项目用于构建 LLM wiki 知识库"
requires-python = ">=3.12"
dependencies = [
"llama-index>=0.12.0",
"llama-index-llms-openai-like==0.7.2",
]
[tool.uv]
index-url = "https://mirrors.aliyun.com/pypi/simple"
link-mode = "copy"
[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.9",
"mypy>=1.14",
"deptry>=0.22",
"pre-commit>=4.0",
]
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "B"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
disallow_untyped_defs = false
[[tool.mypy.overrides]]
module = "tests.*"
ignore_errors = true
[tool.deptry]
ignore_notebooks = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]