Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #47

Merged
merged 3 commits into from
Aug 30, 2024
Merged
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
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