Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
50
pyproject.toml
Normal file
50
pyproject.toml
Normal file
@@ -0,0 +1,50 @@
|
||||
[build-system]
|
||||
requires = ["hatchling>=1.25"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "tai"
|
||||
version = "0.1.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",
|
||||
]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.2,<9.0",
|
||||
"ruff>=0.5,<1.0",
|
||||
"mypy>=1.10,<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
|
||||
Reference in New Issue
Block a user