Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
hooks:
- id: codespell
args: [-L, "statics,vai"]
exclude: ^(langcodes/data/|langcodes/data_dicts\.py|langcodes/language_lists\.py)

- repo: https://github.com/crate-ci/typos
rev: v1.23.6
hooks:
- id: typos
exclude: ^(langcodes/data/|langcodes/data_dicts\.py|langcodes/language_lists\.py)
6 changes: 6 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# _typos.toml
# Configuration for typos spell checker

[default.extend-words]
fre = "fre"
vai = "vai"