Skip to content

Commit

Permalink
Merge pull request #47 from physiopy/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
smoia authored Aug 30, 2024
2 parents abb98d5 + 6433cf1 commit a49505f
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -11,15 +11,15 @@ repos:
- id: check-case-conflict
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 23.10.0
rev: 24.8.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
rev: 7.1.1
hooks:
- id: flake8
- repo: https://github.com/pycqa/pydocstyle
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/metrics/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Metrics derived from physiological signals."""

from .cardiac import cardiac_phase, heart_beat_interval, heart_rate_variability
from .chest_belt import (
env,
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/metrics/cardiac.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Denoising metrics for cardio recordings."""

import numpy as np
from loguru import logger
from physutils import io, physio
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/metrics/chest_belt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Denoising metrics for chest belt recordings."""

import numpy as np
import pandas as pd
from physutils import io, physio
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/metrics/responses.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Miscellaneous utility functions for metric calculation."""

import logging

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/metrics/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Miscellaneous utility functions for metric calculation."""

import functools
import inspect
import logging
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/references.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""References to be imported and injected throughout the package."""

from .due import Doi

BIRN_2006 = Doi("10.1016/j.neuroimage.2006.02.048")
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/tests/test_metrics_cardiac.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for phys2denoise.metrics.cardiac."""

import numpy as np
from loguru import logger
from physutils import physio
Expand Down
1 change: 1 addition & 0 deletions phys2denoise/tests/test_metrics_chest_belt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Tests for phys2denoise.metrics.chest_belt."""

import numpy as np
from pytest import mark

Expand Down

0 comments on commit a49505f

Please sign in to comment.