diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71cf177..75a72e8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -26,3 +26,17 @@ repos: rev: 'v0.0.237' hooks: - id: ruff + - repo: local + hooks: + - id: typos-syncroniz + name: typos-syncroniz + language: system + # Not how you spell "synchronise" + entry: sh -c "git grep -i syncroniz" + files: ".*/.*" + - id: typos-text-icalendar + name: typos-text-icalendar + language: system + # It's "text/calendar", no "i". + entry: sh -c "git grep -i 'text/icalendar'" + files: ".*/.*" diff --git a/Makefile b/Makefile index 19036f2..af86715 100644 --- a/Makefile +++ b/Makefile @@ -42,8 +42,6 @@ ci-test-storage: style: pre-commit run --all - ! git grep -i syncroniz */* - ! git grep -i 'text/icalendar' */* sphinx-build -W -b html ./docs/ ./docs/_build/html/ install-docs: