Skip to content

Commit

Permalink
Add codespell pre-commit (#73)
Browse files Browse the repository at this point in the history
* Add codespell pre-commit

* Add words to codespell dictionary
  • Loading branch information
ivirshup authored Apr 10, 2024
1 parent c606f61 commit 0eac702
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,3 +143,6 @@ skip = [
"docs/references.md",
"docs/notebooks/example.ipynb",
]

[tool.codespell]
ignore-words-list = "theis,coo,homogenous"

0 comments on commit 0eac702

Please sign in to comment.