From 230cc27603b0fc753d4da676b2086c2f4b98575f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 20:25:10 +0000 Subject: [PATCH 1/2] chore(pre-commit.ci): pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/commitizen-tools/commitizen: v4.8.2 → v4.9.1](https://github.com/commitizen-tools/commitizen/compare/v4.8.2...v4.9.1) - [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/asottile/pyupgrade: v3.20.0 → v3.21.0](https://github.com/asottile/pyupgrade/compare/v3.20.0...v3.21.0) - [github.com/astral-sh/ruff-pre-commit: v0.11.11 → v0.14.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.14.3) - [github.com/cdce8p/python-typing-update: v0.7.1 → v0.7.3](https://github.com/cdce8p/python-typing-update/compare/v0.7.1...v0.7.3) - [github.com/pre-commit/mirrors-mypy.git: v1.15.0 → v1.18.2](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.15.0...v1.18.2) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9cace88f..2094752e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,12 +9,12 @@ ci: repos: - repo: https://github.com/commitizen-tools/commitizen - rev: v4.8.2 + rev: v4.9.1 hooks: - id: commitizen stages: [commit-msg] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: debug-statements - id: check-builtin-literals @@ -33,18 +33,18 @@ repos: hooks: - id: prettier - repo: https://github.com/asottile/pyupgrade - rev: v3.20.0 + rev: v3.21.0 hooks: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.11 + rev: v0.14.3 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/cdce8p/python-typing-update - rev: v0.7.1 + rev: v0.7.3 hooks: - id: python-typing-update stages: [manual] @@ -58,7 +58,7 @@ repos: # hooks: # - id: codespell - repo: https://github.com/pre-commit/mirrors-mypy.git - rev: v1.15.0 + rev: v1.18.2 hooks: - id: mypy alias: mypy-py313 From b4f91c71eaeb21365821a809191b63574c9ff5da Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Nov 2025 20:25:25 +0000 Subject: [PATCH 2/2] chore(pre-commit.ci): auto fixes --- flux_led/sock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flux_led/sock.py b/flux_led/sock.py index a8888ff7..27140406 100644 --- a/flux_led/sock.py +++ b/flux_led/sock.py @@ -26,7 +26,7 @@ def _retry_wrap( **kwargs: Any, ) -> Any: attempts_remaining = retry + 1 - while attempts_remaining: # noqa: RET503 + while attempts_remaining: attempts_remaining -= 1 try: ret = func(self, *args, **kwargs)