2024-09-09 12:06:16 +03:00
|
|
|
[project]
|
|
|
|
name = "docs"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = "Add your description here"
|
|
|
|
authors = [
|
|
|
|
{ name = "Stan Girard", email = "stan@quivr.app" }
|
|
|
|
]
|
|
|
|
dependencies = [
|
|
|
|
"mkdocs>=1.6.1",
|
|
|
|
"mkdocstrings[python]>=0.26.0",
|
|
|
|
"mkdocs-jupyter>=0.24.8",
|
|
|
|
"mkdocs-include-dir-to-nav>=1.2.0",
|
|
|
|
"mkdocs-material>=9.5.34",
|
|
|
|
"mkdocs-redirects>=1.2.1",
|
|
|
|
]
|
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">= 3.8"
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
[tool.rye]
|
|
|
|
managed = true
|
|
|
|
dev-dependencies = []
|
|
|
|
virtual = true
|
|
|
|
|
|
|
|
[tool.rye.scripts]
|
2024-09-09 12:35:50 +03:00
|
|
|
venv_create = "uv venv ./.venv"
|
|
|
|
venv_sync= "uv pip sync --python ./.venv/bin/python ./requirements.lock"
|
|
|
|
venv_create_sync = {chain = ["venv_create", "venv_sync"]}
|
|
|
|
check_deps = "basedpyright --project ./pyproject.toml"
|
2024-09-09 12:06:16 +03:00
|
|
|
docs = "mkdocs serve"
|
2024-10-16 12:48:33 +03:00
|
|
|
build_docs = "mkdocs build --strict"
|
2024-09-09 12:06:16 +03:00
|
|
|
|
2024-09-09 12:35:50 +03:00
|
|
|
[tool.basedpyright]
|
|
|
|
include = ["src/"]
|
|
|
|
# Ensure that it uses the .venv that we created for this project with the lockfile
|
|
|
|
venvPath="./"
|
|
|
|
venv=".venv"
|
|
|
|
# We really only care about some import issues, so we disable everything and report on missing imports:
|
|
|
|
typeCheckingMode = "off"
|
|
|
|
reportMissingImports = true
|
|
|
|
|
2024-09-09 12:06:16 +03:00
|
|
|
|
|
|
|
[tool.hatch.metadata]
|
|
|
|
allow-direct-references = true
|
|
|
|
|
|
|
|
|