diff --git a/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_FEATURE_REQUEST.md index 098ac0d..6695ddd 100644 --- a/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_FEATURE_REQUEST.md +++ b/.github/ISSUE_TEMPLATE/ISSUE_TEMPLATE_FEATURE_REQUEST.md @@ -2,7 +2,7 @@ name: Feature request about: Use this template to request new features. title: '' -labels: Enhacement +labels: Enhancement assignees: '' --- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1cdcb1..9e8470c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,5 +1,7 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks +# Exclude vendored files +exclude: '^physioqc/_version.py' repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 @@ -32,3 +34,8 @@ repos: - id: rst-backticks - id: rst-directive-colons - id: rst-inline-touching-normal +- repo: https://github.com/codespell-project/codespell + # Configuration for codespell is in setup.cfg + rev: v2.2.6 + hooks: + - id: codespell diff --git a/physioqc/interfaces/visualizations.py b/physioqc/interfaces/visualizations.py index 3acd1ef..95afdde 100644 --- a/physioqc/interfaces/visualizations.py +++ b/physioqc/interfaces/visualizations.py @@ -99,7 +99,7 @@ def plot_average_peak( Raises ------ ValueError - If an inapropriate plot type is chosen. + If an inappropriate plot type is chosen. """ if plot_mode not in ["traces", "ci", "auto"]: raise ValueError('Plot mode has to be in ["traces", "ci", "auto"]') diff --git a/setup.cfg b/setup.cfg index 2e6600d..f5df1c0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -96,8 +96,8 @@ match = match_dir = physioqc/[^tests]* [codespell] -skip = versioneer.py,.git,build,./docs/_build -ignore-words-list = nd,commun +skip = versioneer.py,.git,build,./docs/_build,./physioqc/_version.py +ignore-words-list = nd,commun,trough write-changes = count = quiet-level = 3