Skip to content

Commit d1d81a5

Browse files
committed
add codespell ignore
1 parent d6291e4 commit d1d81a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ repos:
5050
types_or: [ python, pyi ]
5151
# Checks for spelling mistakes
5252
- repo: https://github.com/codespell-project/codespell
53-
rev: v2.3.0
53+
rev: v2.3.0 #TODO latest version 2.3.0 finds a lot of spelling mistakes but fails on "assertIn"
5454
hooks:
5555
- id: codespell
56-
args: ['--write-changes']
57-
exclude: \.(svg|pyc|lock|json)$
56+
args: ["--write-changes","--ignore-words=./codespell-ignore.txt"]
57+
exclude: \.(svg|pyc|lock|json|hrd|pgm)$

codespell-ignore.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)