Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
test(pre-commit): exclude tests/cassettes/ from typos
Browse files Browse the repository at this point in the history
This would be better placed in `.typos.toml` rather than pre-commit
config, but at time of writing, `typos` doesn't honor exclusions for
explicitly passed files: crate-ci/typos#347
  • Loading branch information
scop committed Aug 31, 2022
1 parent f7a72d1 commit 28ff5c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -65,6 +65,8 @@ repos:
rev: v1.12.0
hooks:
- id: typos
# TODO: to .typos.toml, https://github.com/crate-ci/typos/issues/347
exclude: ^tests/cassettes/

- repo: https://github.com/jorisroovers/gitlint
rev: v0.15.1
Expand Down

0 comments on commit 28ff5c9

Please sign in to comment.