Skip to content

Commit d7a1087

Browse files
authored
Merge pull request #976 from epage/py
fix: Don't correct common Python identifiers
2 parents 928bcea + a9402e3 commit d7a1087

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/typos-cli/src/file_type_specifics.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
4141
"py",
4242
StaticDictConfig {
4343
ignore_idents: &[
44-
"NDArray", // numpy.typing.NDArray
44+
"NDArray", // numpy.typing.NDArray
45+
"EOFError", // std
46+
"arange", // torch.arange, numpy.arange
4547
],
4648
ignore_words: &[],
4749
},

0 commit comments

Comments
 (0)