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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: B5690EEEBB952194

View file

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