66 lines
1.1 KiB
TOML
66 lines
1.1 KiB
TOML
[project]
|
|
name = "agebd-cli"
|
|
version = "0.1.0"
|
|
description = "CLI for SLS HLA Framework"
|
|
requires-python = "==3.10.*"
|
|
authors = [
|
|
{ name = "Benjamin Labrecque" }
|
|
]
|
|
|
|
dependencies = [
|
|
"agebd",
|
|
"ansible>=8.7.0",
|
|
"ansible-runner>=2.4.3",
|
|
"copier>=9.10.3",
|
|
"gitpython>=3.1.50",
|
|
"pydantic>=2.13.4",
|
|
"pydantic-settings>=2.14.2",
|
|
"pyyaml>=6.0.3",
|
|
"typer>=0.23.2",
|
|
]
|
|
|
|
# Dev dependencies
|
|
[dependency-groups]
|
|
dev = [
|
|
"pyright>=1.1.410",
|
|
"pytest>=8.4.2",
|
|
"ruff>=0.15.19",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
agebd = { path = "../packages/agebd", editable = true }
|
|
|
|
[build-system]
|
|
requires = ["setuptools", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project.scripts]
|
|
agebd = "main:cli"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.uv]
|
|
package = true
|
|
|
|
[tool.ruff]
|
|
include = [
|
|
"src/**/*.py",
|
|
"tests/**/*.py",
|
|
]
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint]
|
|
extend-select = [
|
|
# use isort to sort imports
|
|
"I",
|
|
# remove unused imports
|
|
"F401",
|
|
]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["agebd"]
|