62 lines
1.4 KiB
TOML
62 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "lilith-queue-cli"
|
|
version = "0.1.4"
|
|
description = "CLI tools for managing BullMQ queues (Python)"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = "MIT"
|
|
authors = [{ name = "Lilith", email = "quinn@ftw.codes" }]
|
|
dependencies = [
|
|
"redis>=5.0.0",
|
|
"click>=8.0.0",
|
|
"rich>=13.0.0",
|
|
"build>=1.0.0",
|
|
"twine>=5.0.0",
|
|
"requests>=2.31.0",
|
|
"bullmq>=2.19.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
queue-status = "lilith_queue_cli.status:main"
|
|
queue-list = "lilith_queue_cli.list:main"
|
|
queue-clear = "lilith_queue_cli.clear:main"
|
|
queue-control = "lilith_queue_cli.control:main"
|
|
dev-publish = "lilith_dev_publish.__main__:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
# Let Hatchling auto-discover packages from src/
|
|
# Package name: lilith-queue-cli (PyPI)
|
|
# Module name: lilith_queue_cli (import)
|
|
|
|
[tool.hatch.build.targets.sdist]
|
|
# Let Hatchling auto-discover packages from src/
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
strict = true
|
|
warn_return_any = true
|
|
warn_unused_configs = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["redis.*"]
|
|
ignore_missing_imports = true
|
|
|
|
[[tool.mypy.overrides]]
|
|
module = ["requests"]
|
|
ignore_missing_imports = true
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
src = ["src", "tests"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM", "RUF", "PTH", "ERA"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.ruff.lint.isort]
|
|
known-first-party = ["lilith_*"]
|