mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-21 11:14:04 +02:00
[pre-commit.ci] pre-commit autoupdate (#882)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.6 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.6...v0.2.0) - [github.com/psf/black: 23.11.0 → 24.1.1](https://github.com/psf/black/compare/23.11.0...24.1.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
a47f7ce49f
commit
95a59438b6
17 changed files with 45 additions and 28 deletions
3
.github/update-strings.py
vendored
3
.github/update-strings.py
vendored
|
|
@ -1,4 +1,5 @@
|
|||
"""Update strings.json and en.json from const.py."""
|
||||
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
|
@ -8,7 +9,7 @@ import yaml
|
|||
|
||||
sys.path.append(str(Path(__file__).parent.parent))
|
||||
|
||||
from custom_components.adaptive_lighting import const # noqa: E402
|
||||
from custom_components.adaptive_lighting import const
|
||||
|
||||
folder = Path("custom_components") / "adaptive_lighting"
|
||||
strings_fname = folder / "strings.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue