diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09f0345..0ce5cc7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,3 +15,11 @@ repos: rev: v4.7.2 hooks: - id: commitizen + + # Use the mirror since the main `typos` repo has tags for different + # sub-packages, which confuses pre-commit when it tries to find the latest + # version + - repo: https://github.com/adhtruong/mirrors-typos + rev: v1.32.0 + hooks: + - id: typos