Add ruff static analysis and a Gitea Actions release workflow
Release / release (push) Successful in 52s

Adds ruff (lint + format check) as a dev dependency and gate, applies its
fixes across the codebase (modernized typing, safer zip usage, line
length), and adds a Gitea Actions workflow that lints, tests, builds, and
publishes to the Gitea PyPI registry on v*.*.* tag pushes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-16 14:39:41 +02:00
co-authored by Claude Sonnet 5
parent 71921b5600
commit efc09e1a71
12 changed files with 104 additions and 59 deletions
+1 -1
View File
@@ -13,8 +13,8 @@ from openrgb_hue.animation import (
build_animation,
run_animation,
)
from openrgb_hue.gradient import Gradient
from openrgb_hue.color import Color
from openrgb_hue.gradient import Gradient
from openrgb_hue.mapping import SequenceMapping, base_positions
from openrgb_hue.targets import synthetic_targets