File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,18 @@ repos:
16
16
- id : check-toml
17
17
- id : end-of-file-fixer
18
18
- id : trailing-whitespace
19
+ - repo : https://github.com/crate-ci/typos
20
+ rev : 6cb49915af2e93e61f5f0d0a82216e28ad5c7c18 # frozen: v1
21
+ hooks :
22
+ - id : typos
23
+ exclude : |
24
+ (?x)^(
25
+ .*\.min\.css
26
+ |.*\.min\.js
27
+ |.*\.css\.map
28
+ |.*\.js\.map
29
+ |.*\.svg
30
+ )$
19
31
- repo : https://github.com/tox-dev/pyproject-fmt
20
32
rev : 57b6ff7bf72affdd12c7f3fd6de761ba18a33b3a # frozen: v2.5.1
21
33
hooks :
Original file line number Diff line number Diff line change
1
+ # Configuration file for 'typos' tool
2
+ # https://github.com/crate-ci/typos
3
+
4
+ [default ]
5
+ extend-ignore-re = [
6
+ # Single line ignore comments
7
+ " (?Rm)^.*(#|//)\\ s*typos: ignore$" ,
8
+ # Multi-line ignore comments
9
+ " (?s)(#|//)\\ s*typos: off.*?\\ n\\ s*(#|//)\\ s*typos: on"
10
+ ]
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ Changelog
203
203
1.2.2 (2017-11-03)
204
204
------------------
205
205
206
- * Fix collection to not sometimes crash when encoutering pytest ``Item ``\s
206
+ * Fix collection to not sometimes crash when encountering pytest ``Item ``\s
207
207
without a module.
208
208
209
209
1.2.1 (2017-06-17)
You can’t perform that action at this time.
0 commit comments