From c15ff1ddcff4d4e11ccdc937a3baa6c9d2f13c39 Mon Sep 17 00:00:00 2001 From: Casey Date: Fri, 25 Sep 2026 19:11:37 +0200 Subject: [PATCH] pyproject: drop [tool.ruff] (.ruff.toml wins); version follows manifest 2.5.0-cdit.1 --- pyproject.toml | 26 ++------------------------ uv.lock | 2 +- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 480f53f2..18c6e7e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,8 @@ build-backend = "hatchling.build" [project] name = "adaptive-lighting" -version = "1.30.1" +# PEP 440 spelling of manifest.json's "2.5.0-cdit.1" (keep the two in step) +version = "2.5.0+cdit.1" description = "Automatically adjust brightness and color of lights based on the sun position" readme = "README.md" license = "Apache-2.0" @@ -25,29 +26,6 @@ test = [ [tool.hatch.build.targets.wheel] packages = ["custom_components/adaptive_lighting"] -[tool.ruff] -target-version = "py313" -line-length = 88 - -[tool.ruff.lint] -select = [ - "E", # pycodestyle errors - "W", # pycodestyle warnings - "F", # Pyflakes - "I", # isort - "UP", # pyupgrade - "RUF", # Ruff-specific rules - "B", # flake8-bugbear - "C4", # flake8-comprehensions - "SIM", # flake8-simplify -] -ignore = [ - "E501", # line too long (handled by formatter) -] - -[tool.ruff.lint.isort] -known-first-party = ["adaptive_lighting"] - [tool.mypy] python_version = "3.13" warn_return_any = true diff --git a/uv.lock b/uv.lock index b9fa9ca8..6359e562 100644 --- a/uv.lock +++ b/uv.lock @@ -49,7 +49,7 @@ wheels = [ [[package]] name = "adaptive-lighting" -version = "1.30.1" +version = "2.5.0+cdit.1" source = { editable = "." } [package.dev-dependencies]