[project] name = "wiki-kb" version = "0.1.0" description = "Local searchable mirror of the Crusader Kings III wiki (RAG + MCP)." requires-python = ">=3.12,<3.13" dependencies = [ "httpx>=0.27", "beautifulsoup4>=4.12", "markdownify>=0.13", "numpy>=1.26", "fastembed>=0.3", "mcp>=1.2", ] [project.optional-dependencies] dev = [ "pytest>=8.0", "pytest-cov>=5.0", "respx>=0.21", "ruff>=0.6", ] [build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [tool.setuptools] packages = ["wikikb"] [tool.ruff] line-length = 100 target-version = "py312" [tool.ruff.lint] select = ["E", "F", "I", "UP", "B", "SIM", "PTH", "RUF"] [tool.pytest.ini_options] addopts = "-q" testpaths = ["tests"] [tool.coverage.run] branch = true source = ["wikikb"] [tool.coverage.report] show_missing = true fail_under = 100 exclude_lines = ["if __name__ == .__main__.:", "pragma: no cover", "\\.\\.\\."]