Skip to content

Commit 4db3166

Browse files
committed
🔧 Add codespell
1 parent 36206d3 commit 4db3166

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ repos:
3838
args: [--line-length=79]
3939
additional_dependencies:
4040
- black
41+
- repo: https://github.com/codespell-project/codespell
42+
rev: v2.3.0
43+
hooks:
44+
- id: codespell
45+
args: [--toml pyproject.toml]
4146
- repo: local
4247
hooks:
4348
- id: linkcheck

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ docs = [
3131
dev = [
3232
"pyviz-tutorial[docs]",
3333
"pre-commit",
34+
"codespell",
3435
]
3536

3637
[project.urls]
3738
"Homepage" = "https://github.com/veit/pyviz-tutorial/"
3839
"Bug Tracker" = "https://github.com/veit/pyviz-tutorial/issues"
40+
41+
[tool.codespell]
42+
skip = "*.ipynb, *.rst, *.svg, ./pyviz_tutorial.egg-info/*"

0 commit comments

Comments
 (0)