Skip to content
Merged
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: 11 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,19 @@ repos:
- id: trailing-whitespace
# rustfmt handles rust files, and in some snapshots we expect trailing spaces.
exclude: '.*\.(rs|snap)$'
- repo: https://github.com/crate-ci/typos
rev: v1
# A local hook rather than the crate-ci/typos repo hook: that repo's moving
# tags (`v1`, `typos-dict-*`) make autoupdate rewrite any pinned rev back to
# a mutable reference (#5481 and #5510 both pinned; the next autoupdate
# reverted each). A local hook has no rev, so the pin below sticks.
- repo: local
hooks:
- id: typos
name: typos
language: python
additional_dependencies: ["typos==1.48.0"]
entry: typos
args: [--write-changes, --force-exclude]
types: [text]
# https://github.com/crate-ci/typos/issues/347
pass_filenames: false
- repo: https://github.com/rbubley/mirrors-prettier
Expand Down
Loading