fix: Don't correct common Python identifiers

Fixes #966
Fixes #969
This commit is contained in:
Ed Page 2024-04-02 10:34:28 -05:00
parent 928bceae2c
commit a9402e3f47

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