diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1b4e2b..3042a4c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,3 +36,9 @@ repos: Fix the merge conflicts manually and remove the .rej files. language: fail files: '.*\.rej$' + - repo: https://github.com/codespell-project/codespell + rev: v2.2.6 + hooks: + - id: codespell + additional_dependencies: + - tomli diff --git a/pyproject.toml b/pyproject.toml index 0eec156..ede152c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,3 +143,6 @@ skip = [ "docs/references.md", "docs/notebooks/example.ipynb", ] + +[tool.codespell] +ignore-words-list = "theis,coo,homogenous"