Switch to the newer uv package manager (#114)

This commit is contained in:
Christiaan Goossens
2025-08-30 12:50:13 +02:00
committed by GitHub
parent 86663dd5e4
commit 02a4937ce4
10 changed files with 1879 additions and 335 deletions

View File

@@ -19,24 +19,16 @@ requires-python = ">= 3.13"
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
[tool.uv]
managed = true
dev-dependencies = [
"homeassistant~=2024.12",
"pylint~=3.3",
"ruff>=0.12.11",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["custom_components/auth_oidc"]
[tool.rye.scripts]
check = { chain = ["check-lint", "check-fmt", "check-pylint" ] }
"check-lint" = "rye lint"
"check-fmt" = "rye fmt --check"
"check-pylint" = "pylint custom_components"
fix = { chain = ["fix-lint", "fix-fmt" ] }
"fix-lint" = "rye lint --fix"
"fix-fmt" = "rye fmt"
packages = ["custom_components/auth_oidc"]