Merge pull request #976 from epage/py

fix: Don't correct common Python identifiers
This commit is contained in:
Ed Page 2024-04-02 10:44:15 -05:00 committed by GitHub
commit d7a1087e55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: &[],
}, },