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:
1616 - id : check-toml
1717 - id : end-of-file-fixer
1818 - 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+ )$
1931 - repo : https://github.com/tox-dev/pyproject-fmt
2032 rev : 57b6ff7bf72affdd12c7f3fd6de761ba18a33b3a # frozen: v2.5.1
2133 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
2032031.2.2 (2017-11-03)
204204------------------
205205
206- * Fix collection to not sometimes crash when encoutering pytest ``Item ``\s
206+ * Fix collection to not sometimes crash when encountering pytest ``Item ``\s
207207 without a module.
208208
2092091.2.1 (2017-06-17)
You can’t perform that action at this time.
0 commit comments