[project] name = "LLM-wiki" version = "0.1.0" description = "本项目用于构建 LLM wiki 知识库" requires-python = ">=3.12" dependencies = [ "llama-index>=0.12.0", ] [tool.uv] index-url = "https://pypi.tuna.tsinghua.edu.cn/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 = ["."]