Skip to content

Commit 782279e

Browse files
authored
Fix typos (#411)
1 parent 85ac3b8 commit 782279e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
repos:
33
- repo: https://github.com/paddyroddy/.github
4-
rev: v0.220.0
4+
rev: v0.226.0
55
hooks:
66
- id: general-hooks
77
- id: python-hooks

.typos.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[type.py]
2+
extend-ignore-re = [
3+
"(?:=|>|<)\\s*color",
4+
"\"(?:color\":\\s\"|ax\":\\s)",
5+
"\\.Center\\(",
6+
"\\w=\"center\"",
7+
"ax(?:s?[,.]\\w|\\s*=\\s*\\w|,|\\[|:\\s\\w)",
8+
"center=\\w",
9+
"color(?:=\"|=\\w|\\.colors\\.|_range)",
10+
"mpl\\.colors\\.",
11+
]

0 commit comments

Comments
 (0)