Files
openrgb-hue/pyproject.toml
T

43 lines
981 B
TOML
Raw Normal View History

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "openrgb-hue"
dynamic = ["version"]
description = "Apply Philips Hue scene gradients to OpenRGB-controlled lights, with multiple mapping and animation modes."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [{ name = "Sebastian Krüger" }]
dependencies = [
"openrgb-python",
"typer>=0.9",
"rich>=13",
]
[project.optional-dependencies]
dev = ["pytest>=7", "pytest-cov", "ruff>=0.6"]
[project.scripts]
openrgb-hue = "openrgb_hue.cli:app"
[tool.hatch.version]
path = "src/openrgb_hue/__init__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/openrgb_hue"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
ignore = [
"B008", # typer.Option(...)/typer.Argument(...) as a parameter default is the idiomatic Typer pattern
]