Skip to content

Commit

Permalink
⬆️ Update dependency codespell to v2.4.1 (#1634)
Browse files Browse the repository at this point in the history
* ⬆️ Update dependency codespell to v2.4.1

* 📖 Update documentation for ABL power metrics and add codespell configuration
  • Loading branch information
renovate[bot] authored Feb 7, 2025
1 parent c9b62ee commit 3135215
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Changelog = "https://github.com/frenck/python-wled/releases"

[tool.poetry.dev-dependencies]
aresponses = "3.0.0"
codespell = "2.3.0"
codespell = "2.4.1"
covdefaults = "2.3.0"
coverage = {version = "7.6.10", extras = ["toml"]}
mypy = "1.15.0"
Expand Down Expand Up @@ -175,6 +175,9 @@ runtime-evaluated-base-classes = ["mashumaro.mixins.orjson.DataClassORJSONMixin"
[tool.ruff.lint.mccabe]
max-complexity = 25

[tool.codespell]
ignore-words-list = "abl"

[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]
4 changes: 2 additions & 2 deletions src/wled/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,14 +311,14 @@ class Leds:
"""Capabilities of the light."""

max_power: int = field(default=0, metadata=field_options(alias="maxpwr"))
"""Maximum power budget in milliamps for the ABL. 0 if ABL is disabled."""
"""Maximum power budget in milliamperes for the ABL. 0 if ABL is disabled."""

max_segments: int = field(default=0, metadata=field_options(alias="maxseg"))
"""Maximum number of segments supported by this version."""

power: int = field(default=0, metadata=field_options(alias="pwr"))
"""
Current LED power usage in milliamps as determined by the ABL.
Current LED power usage in milliamperes as determined by the ABL.
0 if ABL is disabled.
"""

Expand Down

0 comments on commit 3135215

Please sign in to comment.