From 7be8439210eca78b4c3ca610a76a90091e4efaae Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 16:38:43 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black-pre-commit-mirror: 26.5.1 → 26.10.1](https://github.com/psf/black-pre-commit-mirror/compare/26.5.1...26.10.1) - [github.com/PyCQA/flake8: 7.3.0 → 7.5.0](https://github.com/PyCQA/flake8/compare/7.3.0...7.5.0) - [github.com/pycqa/isort: 9.0.1 → 10.0.0b2](https://github.com/pycqa/isort/compare/9.0.1...10.0.0b2) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index efe1984..87be3a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,17 +9,17 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/psf/black-pre-commit-mirror - rev: 26.5.1 + rev: 26.10.1 hooks: - id: black args: [--line-length=128, --verbose] - repo: https://github.com/PyCQA/flake8 - rev: 7.3.0 + rev: 7.5.0 hooks: - id: flake8 args: [--max-line-length=128, '--exclude=./.*,build,dist,official*,torch_ecg,references,*.ipynb', '--ignore=E501,W503,E203,F841,E402,E231', --count, --statistics, --show-source] - repo: https://github.com/pycqa/isort - rev: 9.0.1 + rev: 10.0.0b2 hooks: - id: isort args: [--profile=black, --line-length=128] From f7f72205544c19610270dd3e910af5818b8f4c41 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 16:39:31 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- signal_processing/ecg_rpeaks_dl_models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signal_processing/ecg_rpeaks_dl_models/__init__.py b/signal_processing/ecg_rpeaks_dl_models/__init__.py index 67db2cd..9915b14 100644 --- a/signal_processing/ecg_rpeaks_dl_models/__init__.py +++ b/signal_processing/ecg_rpeaks_dl_models/__init__.py @@ -12,7 +12,7 @@ try: from keras.models import Model, model_from_json except: - from tensorflow.keras.models import model_from_json, Model + from tensorflow.keras.models import Model, model_from_json import torch from torch import nn