From 006f9e450a844d278a17641d4814bb938b2ec467 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 20:25:40 +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.8.3](https://github.com/commitizen-tools/commitizen/compare/v4.8.2...v4.8.3) - [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.11 → v0.12.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.11...v0.12.8) - [github.com/cdce8p/python-typing-update: v0.7.1 → v0.7.2](https://github.com/cdce8p/python-typing-update/compare/v0.7.1...v0.7.2) - [github.com/pre-commit/mirrors-mypy.git: v1.15.0 → v1.17.1](https://github.com/pre-commit/mirrors-mypy.git/compare/v1.15.0...v1.17.1) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9cace88f..8b42a4f9 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.8.3 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 @@ -38,13 +38,13 @@ repos: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.11 + rev: v0.12.8 hooks: - id: ruff args: [--fix] - id: ruff-format - repo: https://github.com/cdce8p/python-typing-update - rev: v0.7.1 + rev: v0.7.2 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.17.1 hooks: - id: mypy alias: mypy-py313 From 3493a19af1b2cf21817be263c653d49d229a0203 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 20:41:15 +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)