57 lines
953 B
TOML
57 lines
953 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.25"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "tai"
|
|
version = "0.4.0"
|
|
description = "Linux AI-driven troubleshooting agent"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
authors = [
|
|
{ name = "tai contributors" }
|
|
]
|
|
dependencies = [
|
|
"typer>=0.12,<1.0",
|
|
"rich>=13.7,<14.0",
|
|
"asyncssh>=2.14,<3.0",
|
|
"openai>=1.30,<2.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
rag = [
|
|
"chromadb>=0.5,<1.0",
|
|
]
|
|
dev = [
|
|
"pytest>=8.2,<9.0",
|
|
"ruff>=0.5,<1.0",
|
|
"mypy>=1.10,<2.0",
|
|
"mdformat>=0.7,<1.0",
|
|
"yamllint>=1.35,<2.0",
|
|
]
|
|
build = [
|
|
"nuitka>=2.4,<3.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
tai = "tai.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/tai"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "UP", "B"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
strict = true
|
|
warn_unused_configs = true
|