mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-28 02:14:52 -05:00
Merge pull request #976 from epage/py
fix: Don't correct common Python identifiers
This commit is contained in:
commit
d7a1087e55
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
|||
"py",
|
||||
StaticDictConfig {
|
||||
ignore_idents: &[
|
||||
"NDArray", // numpy.typing.NDArray
|
||||
"NDArray", // numpy.typing.NDArray
|
||||
"EOFError", // std
|
||||
"arange", // torch.arange, numpy.arange
|
||||
],
|
||||
ignore_words: &[],
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue