-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from maestroque/add-pre-commit
Add .pre-commit-config.yaml
- Loading branch information
Showing
33 changed files
with
1,065 additions
and
740 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,6 @@ assignees: '' | |
## Next Steps | ||
<!--- Provide possible steps to take in order to address the issue --> | ||
|
||
* | ||
* | ||
* | ||
* | ||
* | ||
* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-yaml | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-merge-conflict | ||
- repo: https://github.com/psf/black | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
- repo: https://github.com/pycqa/flake8 | ||
rev: 6.1.0 | ||
hooks: | ||
- id: flake8 | ||
- repo: https://github.com/pycqa/pydocstyle | ||
rev: 6.3.0 | ||
hooks: | ||
- id: pydocstyle | ||
- repo: https://github.com/pre-commit/pygrep-hooks | ||
rev: v1.10.0 | ||
hooks: | ||
- id: rst-backticks | ||
- id: rst-directive-colons | ||
- id: rst-inline-touching-normal | ||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.6 | ||
hooks: | ||
- id: codespell | ||
args: ["-L", "trough,troughs"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
pandas | ||
sphinx>=1.2 | ||
sphinx_rtd_theme | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,36 @@ | ||
__all__ = [ | ||
'delete_peaks', 'edit_physio', 'filter_physio', 'interpolate_physio', | ||
'peakfind_physio', 'plot_physio', 'reject_peaks', | ||
'load_physio', 'save_physio', 'load_history', 'save_history', | ||
'load_rtpeaks', 'Physio', 'HRV', '__version__' | ||
"delete_peaks", | ||
"edit_physio", | ||
"filter_physio", | ||
"interpolate_physio", | ||
"peakfind_physio", | ||
"plot_physio", | ||
"reject_peaks", | ||
"load_physio", | ||
"save_physio", | ||
"load_history", | ||
"save_history", | ||
"load_rtpeaks", | ||
"Physio", | ||
"HRV", | ||
"__version__", | ||
] | ||
|
||
from peakdet.analytics import (HRV) | ||
from peakdet.external import (load_rtpeaks) | ||
from peakdet.io import (load_physio, save_physio, load_history, save_history) | ||
from peakdet.operations import (delete_peaks, edit_physio, filter_physio, | ||
interpolate_physio, peakfind_physio, | ||
plot_physio, reject_peaks) | ||
from peakdet.physio import (Physio) | ||
from peakdet.analytics import HRV | ||
from peakdet.external import load_rtpeaks | ||
from peakdet.io import load_history, load_physio, save_history, save_physio | ||
from peakdet.operations import ( | ||
delete_peaks, | ||
edit_physio, | ||
filter_physio, | ||
interpolate_physio, | ||
peakfind_physio, | ||
plot_physio, | ||
reject_peaks, | ||
) | ||
from peakdet.physio import Physio | ||
|
||
from ._version import get_versions | ||
__version__ = get_versions()['version'] | ||
del get_versions | ||
|
||
__version__ = get_versions()["version"] | ||
del get_versions |
Oops, something went wrong.