Skip to content

Commit 6c1d3af

Browse files
authored
Merge pull request #15 from DeepPSP/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 3ed4bac + 676b1ee commit 6c1d3af

17 files changed

Lines changed: 26 additions & 49 deletions

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ fail_fast: false
44

55
repos:
66
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v5.0.0
7+
rev: v6.0.0
88
hooks:
99
- id: end-of-file-fixer
1010
- id: trailing-whitespace
11-
- repo: https://github.com/psf/black
12-
rev: 24.8.0
11+
- repo: https://github.com/psf/black-pre-commit-mirror
12+
rev: 26.3.1
1313
hooks:
1414
- id: black
1515
args: [--line-length=128, --verbose]
1616
- repo: https://github.com/PyCQA/flake8
17-
rev: 7.1.1
17+
rev: 7.3.0
1818
hooks:
1919
- id: flake8
2020
args: [--max-line-length=128, '--exclude=./.*,build,dist,official*,torch_ecg,references,*.ipynb', '--ignore=E501,W503,E203,F841,E402,E231', --count, --statistics, --show-source]
2121
- repo: https://github.com/pycqa/isort
22-
rev: 5.13.2
22+
rev: 9.0.0a3
2323
hooks:
2424
- id: isort
2525
args: [--profile=black, --line-length=128]

CPSC2020_challenge.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import math
54
import time

cfg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import os
54
from copy import deepcopy

data_reader.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import argparse
54
import logging

metrics.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
from numbers import Real
54
from typing import Any, List, Optional, Sequence, Tuple, Union

metrics_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

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

model.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import sys
54
from copy import deepcopy

phase_one_legacy/CPSC2020_challenge.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
from numbers import Real
54
from typing import Tuple

phase_one_legacy/CPSC2020_challenge_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import argparse
54
import os

phase_one_legacy/cfg.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
"""
2-
"""
1+
""" """
32

43
import os
54
from copy import deepcopy

0 commit comments

Comments
 (0)