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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ fail_fast: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.8.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black
args: [--line-length=128, --verbose]
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
rev: 7.3.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: 5.13.2
rev: 7.0.0
hooks:
- id: isort
args: [--profile=black, --line-length=128]
3 changes: 1 addition & 2 deletions CPSC2020_challenge.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import math
import time
Expand Down
3 changes: 1 addition & 2 deletions cfg.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
from copy import deepcopy
Expand Down
3 changes: 1 addition & 2 deletions data_reader.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import argparse
import logging
Expand Down
3 changes: 1 addition & 2 deletions metrics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

from numbers import Real
from typing import Any, List, Optional, Sequence, Tuple, Union
Expand Down
3 changes: 1 addition & 2 deletions metrics_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

from typing import Any, List, Optional, Tuple, Union

Expand Down
3 changes: 1 addition & 2 deletions model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import sys
from copy import deepcopy
Expand Down
3 changes: 1 addition & 2 deletions phase_one_legacy/CPSC2020_challenge.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

from numbers import Real
from typing import Tuple
Expand Down
3 changes: 1 addition & 2 deletions phase_one_legacy/CPSC2020_challenge_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import argparse
import os
Expand Down
3 changes: 1 addition & 2 deletions phase_one_legacy/cfg.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
from copy import deepcopy
Expand Down
3 changes: 1 addition & 2 deletions phase_one_legacy/data_reader.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import argparse
import logging
Expand Down
3 changes: 1 addition & 2 deletions phase_one_legacy/models/dl_models/train_model_dl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
import sys
Expand Down
3 changes: 1 addition & 2 deletions phase_one_legacy/models/load_model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
import pickle
Expand Down
3 changes: 1 addition & 2 deletions saved_models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import os
from typing import Optional, Tuple, Union
Expand Down
3 changes: 1 addition & 2 deletions signal_processing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
"""
"""
""" """
3 changes: 1 addition & 2 deletions train.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""
"""
""" """

import argparse
import logging
Expand Down
Loading