Files
kotaemon/pyproject.toml
2026-05-31 12:18:12 +07:00

88 lines
1.9 KiB
TOML

[build-system]
requires = ["setuptools >= 61.0", "wheel", "setuptools-git-versioning>=2.0,<3"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = false
packages.find.include = []
[tool.setuptools-git-versioning]
enabled = true
dev_template = "{tag}"
dirty_template = "{tag}"
tag_filter = "v?\\d+(\\.\\d+)*.*"
[project]
name = "kotaemon-app"
dynamic = ["version"]
requires-python = ">= 3.10"
description = "Kotaemon App"
dependencies = [
"kotaemon",
"ktem"
]
authors = [
{ name = "@trducng", email = "john@cinnamon.is" },
{ name = "@lone17", email = "ian@cinnamon.is" },
{ name = "@taprosoft", email = "tadashi@cinnamon.is" },
{ name = "@cin-albert", email = "albert@cinnamon.is" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
[tool.uv.sources]
kotaemon = { workspace = true }
ktem = { workspace = true }
# uv workspace configuration
[tool.uv.workspace]
members = ["libs/kotaemon", "libs/ktem"]
[dependency-groups]
dev = [
"black",
"coverage",
"flake8",
"ipython",
"pre-commit",
"pytest",
"pytest-mock",
"sphinx"
]
[project.urls]
Homepage = "https://cinnamon.github.io/kotaemon/"
Repository = "https://github.com/Cinnamon/kotaemon/"
Documentation = "https://cinnamon.github.io/kotaemon/"
[tool.codespell]
skip = "*.js,*.css,*.map"
# `llm` abbreviation for large language models
ignore-words-list = "llm,fo"
quiet-level = 3
check-filenames = ""
[tool.ruff]
exclude = ["*.ipynb"]
[tool.mypy]
python_version = "3.12"
files = ["libs"]
check_untyped_defs = true
disallow_untyped_defs = true
disallow_untyped_calls = true
disallow_any_generics = true
ignore_missing_imports = true
follow_imports = "normal"
no_implicit_reexport = true
warn_redundant_casts = true
warn_unused_ignores = true
plugins = ["pydantic.mypy"]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true