Skip to content

Commit

Permalink
Add typos to pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
siiptuo committed Jul 29, 2024
1 parent 04a4bfc commit 62ec15b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,7 @@ repos:
language: system
types: [python]
require_serial: true
- repo: https://github.com/crate-ci/typos
rev: v1.23.5
hooks:
- id: typos
5 changes: 5 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[default]
extend-ignore-identifiers-re = ["ND"]

[files]
extend-exclude = ["mwrpy/site_config/", "tests/data/"]

0 comments on commit 62ec15b

Please sign in to comment.