mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Check typos via pre-commit
So this runs more often (and also in CI).
This commit is contained in:
parent
627f574777
commit
73f2554932
2 changed files with 14 additions and 2 deletions
|
|
@ -26,3 +26,17 @@ repos:
|
||||||
rev: 'v0.0.237'
|
rev: 'v0.0.237'
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- 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: ".*/.*"
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -42,8 +42,6 @@ ci-test-storage:
|
||||||
|
|
||||||
style:
|
style:
|
||||||
pre-commit run --all
|
pre-commit run --all
|
||||||
! git grep -i syncroniz */*
|
|
||||||
! git grep -i 'text/icalendar' */*
|
|
||||||
sphinx-build -W -b html ./docs/ ./docs/_build/html/
|
sphinx-build -W -b html ./docs/ ./docs/_build/html/
|
||||||
|
|
||||||
install-docs:
|
install-docs:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue