| | [project] |
| | name = "kzs-rag" |
| | version = "0.1.0" |
| | description = "RAG project by kaizen" |
| | readme = "readme.md" |
| | requires-python = ">=3.12,<3.13" |
| | dependencies = [ |
| | "pydantic-settings>=2.6.1", |
| | ] |
| |
|
| | [dependency-groups] |
| | frontend = [ |
| | "streamlit>=1.40.1", |
| | ] |
| |
|
| | backend = [ |
| | "docling>=2.8.1", |
| | "fastapi[standard]>=0.115.4", |
| | "langchain-community>=0.3.8", |
| | "langchain-openai>=0.2.10", |
| | "langchain-qdrant>=0.2.0", |
| | "langgraph>=0.2.53", |
| | "qdrant-client>=1.12.1", |
| | "sentence-transformers>=3.3.1", |
| | "openparse>=0.7.0", |
| | |
| | "fpdf2>=2.8.1", |
| | ] |
| |
|
| | dev = [ |
| | "mypy>=1.13.0", |
| | "pytest>=8.3.3", |
| | "ruff>=0.7.1", |
| | "pytest-forked>=1.6.0", |
| | "pytest-gitignore>=1.3", |
| | "pytest-html>=4.1.1", |
| | "pytest-xdist>=3.6.1", |
| | "pandas>=2.2.3", |
| | "pandas-stubs>=2.2.3.241009", |
| | |
| | "plotly>=5.24.1", |
| | "ipykernel>=6.29.5", |
| | ] |
| |
|
| | [tool.ruff] |
| | target-version = "py312" |
| | fix = false |
| | line-length = 88 |
| | exclude = [ |
| | ".git", |
| | ".git-rewrite", |
| | ".mypy_cache", |
| | ".pytype", |
| | ".ruff_cache", |
| | "__pypackages__", |
| | ".venv" |
| | ] |
| |
|
| | [tool.ruff.lint] |
| | fixable = ["ALL"] |
| | unfixable = [] |
| | |
| | select = [ |
| | "F", "E", "C90", "N", "D", "UP", "YTT", "ANN", "ASYNC", "S", "BLE", |
| | "FBT", "B", "A", "C4", "DTZ", "T10", "DJ", "EXE", "FA", "ISC", |
| | "ICN", "G", "INP", "PIE", "PYI", "PT", "Q", "RSE", "RET", "SLF", "SLOT", "SIM", |
| | "TID", "TCH", "INT", "ARG", "PTH", "TD", "FIX", "ERA", "PD", "PGH", "PL", "TRY", |
| | "FLY", "NPY", "AIR", "PERF", "RUF", "T20", "I" |
| | ] |
| | |
| | |
| | |
| | |
| |
|
| | ignore = [ |
| | "D203", |
| | "D212", |
| | "TRY003", |
| | "ANN101", |
| | "ANN102", |
| | "G004", |
| | "PD013", |
| | ] |
| |
|
| |
|
| | [tool.ruff.lint.per-file-ignores] |
| | "__init__.py" = ["D104"] |
| | "test/**/*.py" = [ |
| | "INP001", |
| | "S101", |
| | "N802", |
| | |
| | |
| | "PLR2004", |
| | |
| | ] |
| |
|
| |
|
| | [tool.ruff.lint.flake8-annotations] |
| | mypy-init-return = true |
| |
|
| | [tool.ruff.lint.pydocstyle] |
| | convention = "numpy" |
| |
|
| |
|
| | [tool.mypy] |
| | python_version = "3.12" |
| | exclude = [ |
| | ] |
| |
|
| |
|
| | [[tool.mypy.overrides]] |
| | module = ["" |
| | ] |
| | ignore_missing_imports = true |
| |
|
| | [tool.pytest.ini_options] |
| |
|
| | addopts = [ |
| | "--import-mode=prepend", |
| | "-vv", |
| | "--exitfirst", |
| | "--capture=no", |
| | "--showlocals", |
| | |
| | |
| | |
| | |
| | |
| | "--html=.pytest_cache/report.html", |
| | ] |
| |
|
| | python_files = "*.py" |
| |
|
| | norecursedirs = [ |
| | "dist", |
| | "doc", |
| | "__pycache__", |
| | ] |
| |
|
| | [tool.pymarkdown] |
| | |
| | |
| | |
| |
|