Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
2 changes: 1 addition & 1 deletion signal_processing/ecg_rpeaks_dl_models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading