From bb09e7f74716ed9a2ba8dfc80dbcd3b7607c64df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 17:52:36 +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.9.1 → v4.15.1](https://github.com/commitizen-tools/commitizen/compare/v4.9.1...v4.15.1) - [github.com/python-poetry/poetry: 2.2.1 → 2.4.1](https://github.com/python-poetry/poetry/compare/2.2.1...2.4.1) - [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.15.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.3...v0.15.12) - [github.com/psf/black-pre-commit-mirror: 25.9.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/25.9.0...26.3.1) - [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](https://github.com/codespell-project/codespell/compare/v2.4.1...v2.4.2) - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v2.0.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.18.2...v2.0.0) --- .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 4e25730..466e48c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ ci: repos: - repo: https://github.com/commitizen-tools/commitizen - rev: v4.9.1 + rev: v4.15.1 hooks: - id: commitizen stages: [commit-msg] @@ -28,7 +28,7 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/python-poetry/poetry - rev: 2.2.1 + rev: 2.4.1 hooks: - id: poetry-check - repo: https://github.com/pre-commit/mirrors-prettier @@ -37,20 +37,20 @@ repos: - id: prettier args: ["--tab-width", "2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.13.3 + rev: v0.15.12 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.9.0 + rev: 26.3.1 hooks: - id: black - repo: https://github.com/codespell-project/codespell - rev: v2.4.1 + rev: v2.4.2 hooks: - id: codespell - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.18.2 + rev: v2.0.0 hooks: - id: mypy additional_dependencies: [] From 0d690341e93b91bad3bf91e9285362e12624bcd3 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 17:55:09 +0000 Subject: [PATCH 2/2] chore(pre-commit.ci): auto fixes --- src/leaone_ble/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leaone_ble/parser.py b/src/leaone_ble/parser.py index 4c1d597..e3766c5 100644 --- a/src/leaone_ble/parser.py +++ b/src/leaone_ble/parser.py @@ -85,7 +85,7 @@ def _start_update(self, service_info: BluetoothServiceInfoBleak) -> None: + changed_manufacturer_data[last_id] ) xvalue = data[1:9] - (frame_cnt, weight, impedance, _control, stabilized_byte) = UNPACK_DATA(xvalue) + frame_cnt, weight, impedance, _control, stabilized_byte = UNPACK_DATA(xvalue) self.set_precision(2) packet_id = frame_cnt << 8 | stabilized_byte self.update_predefined_sensor(SensorLibrary.PACKET_ID__NONE, packet_id)