mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-29 04:21:06 -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
|
@ -42,6 +42,8 @@ pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
||||||
StaticDictConfig {
|
StaticDictConfig {
|
||||||
ignore_idents: &[
|
ignore_idents: &[
|
||||||
"NDArray", // numpy.typing.NDArray
|
"NDArray", // numpy.typing.NDArray
|
||||||
|
"EOFError", // std
|
||||||
|
"arange", // torch.arange, numpy.arange
|
||||||
],
|
],
|
||||||
ignore_words: &[],
|
ignore_words: &[],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue