mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 10:31:02 -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",
|
"py",
|
||||||
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