mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 16:24:04 +02:00
[pre-commit.ci] pre-commit autoupdate (#1229)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.13 → v0.16.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.13...v0.16.5) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 25.1.0 → 26.5.1](https://github.com/psf/black-pre-commit-mirror/compare/25.1.0...26.5.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * ci: preserve Ruff lint baseline --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bas Nijholt <bas@nijho.lt>
This commit is contained in:
parent
6b7dbc3a66
commit
4c1140c517
5 changed files with 14 additions and 10 deletions
|
|
@ -28,7 +28,7 @@ def get_ha_core_versions() -> list[str]:
|
|||
# Paginate through all tags to ensure we get older versions too
|
||||
while True:
|
||||
url = f"https://api.github.com/repos/home-assistant/core/tags?per_page=100&page={page}"
|
||||
with urllib.request.urlopen(url) as response: # noqa: S310
|
||||
with urllib.request.urlopen(url) as response:
|
||||
tags = json.loads(response.read().decode())
|
||||
|
||||
if not tags:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue