Skip to content

Commit a49505f

Browse files
authored
Merge pull request #47 from physiopy/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents abb98d5 + 6433cf1 commit a49505f

File tree

9 files changed

+12
-4
lines changed

9 files changed

+12
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.5.0
5+
rev: v4.6.0
66
hooks:
77
- id: trailing-whitespace
88
- id: end-of-file-fixer
@@ -11,15 +11,15 @@ repos:
1111
- id: check-case-conflict
1212
- id: check-merge-conflict
1313
- repo: https://github.com/psf/black
14-
rev: 23.10.0
14+
rev: 24.8.0
1515
hooks:
1616
- id: black
1717
- repo: https://github.com/pycqa/isort
18-
rev: 5.12.0
18+
rev: 5.13.2
1919
hooks:
2020
- id: isort
2121
- repo: https://github.com/pycqa/flake8
22-
rev: 6.1.0
22+
rev: 7.1.1
2323
hooks:
2424
- id: flake8
2525
- repo: https://github.com/pycqa/pydocstyle

phys2denoise/metrics/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Metrics derived from physiological signals."""
2+
23
from .cardiac import cardiac_phase, heart_beat_interval, heart_rate_variability
34
from .chest_belt import (
45
env,

phys2denoise/metrics/cardiac.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Denoising metrics for cardio recordings."""
2+
23
import numpy as np
34
from loguru import logger
45
from physutils import io, physio

phys2denoise/metrics/chest_belt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Denoising metrics for chest belt recordings."""
2+
23
import numpy as np
34
import pandas as pd
45
from physutils import io, physio

phys2denoise/metrics/responses.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Miscellaneous utility functions for metric calculation."""
2+
23
import logging
34

45
import numpy as np

phys2denoise/metrics/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Miscellaneous utility functions for metric calculation."""
2+
23
import functools
34
import inspect
45
import logging

phys2denoise/references.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""References to be imported and injected throughout the package."""
2+
23
from .due import Doi
34

45
BIRN_2006 = Doi("10.1016/j.neuroimage.2006.02.048")

phys2denoise/tests/test_metrics_cardiac.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for phys2denoise.metrics.cardiac."""
2+
23
import numpy as np
34
from loguru import logger
45
from physutils import physio

phys2denoise/tests/test_metrics_chest_belt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Tests for phys2denoise.metrics.chest_belt."""
2+
23
import numpy as np
34
from pytest import mark
45

0 commit comments

Comments
 (0)