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

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