diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c37ece8c2..9b7c5e833 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,3 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - id: debug-statements - - repo: https://github.com/crate-ci/typos - rev: v1.23.1 - hooks: - - id: typos diff --git a/.typos.toml b/.typos.toml index 28965810f..3d89129ab 100644 --- a/.typos.toml +++ b/.typos.toml @@ -7,3 +7,6 @@ hassel = "hassel" Hassel = "Hassel" noy = "noy" pn = "pn" + +[files] +extend-exclude = ["assets/*"] diff --git a/Makefile b/Makefile index f828dac19..0b00afbe6 100644 --- a/Makefile +++ b/Makefile @@ -35,4 +35,7 @@ schema: tree: python3 build/tree.py -.PHONY: prod dev serve clean assets links csvtables definitions glossary pattern protocol schema tree +typos: + typos --write-changes --force-exclude + +.PHONY: prod dev serve clean assets links csvtables definitions glossary pattern protocol schema tree typos