73 lines
1.3 KiB
TOML
73 lines
1.3 KiB
TOML
# SPDX-FileCopyrightText: 2025 Alexander Kalinovsky <a@k8y.ru>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[build-system]
|
|
requires = [
|
|
"hatchling",
|
|
"hatch-vcs",
|
|
]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "quickbot-cli"
|
|
dynamic = ["version"]
|
|
description = "QuickBot CLI"
|
|
authors = [
|
|
{ name = "Alexander Kalinovsky", email = "a@k8y.ru" }
|
|
]
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { text = "Apache-2.0" }
|
|
dependencies = [
|
|
"typer",
|
|
"jinja2",
|
|
"pyyaml",
|
|
]
|
|
|
|
[project.scripts]
|
|
quickbot = "quickbot_cli.cli:app"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest",
|
|
"pytest-cov",
|
|
"mypy",
|
|
"ruff",
|
|
"pre-commit",
|
|
"reuse",
|
|
"codespell",
|
|
"types-pyyaml",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py313"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["ALL"]
|
|
ignore = ["D203", "D213", "COM812", "PLR0913", "B008"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/**" = ["S101", "PT011"]
|
|
|
|
[tool.ruff.format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
line-ending = "lf"
|
|
|
|
[tool.mypy]
|
|
python_version = "3.13"
|
|
strict = true
|
|
ignore_missing_imports = true
|
|
warn_unused_ignores = true
|
|
|
|
[tool.hatch.version]
|
|
source = "vcs"
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
include = ["src/quickbot_cli", "LICENSES/**", "README.md"]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/quickbot_cli"]
|