Skip to content

Commit

Permalink
Adding codespell to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Aug 15, 2023
1 parent a9c9ff0 commit 65911dc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ repos:
hooks:
# verify github syntaxes
- id: check-github-workflows
- repo: https://github.com/codespell-project/codespell
# see setup.cfg
rev: v2.2.4
hooks:
- id: codespell
args: [--write]
- repo: meta
# see https://pre-commit.com/#meta-hooks
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[codespell]
# see https://github.com/codespell-project/codespell#using-a-config-file
ignore-words-list = ,
skip = .git

0 comments on commit 65911dc

Please sign in to comment.