Skip to content

Commit

Permalink
Merge pull request #976 from epage/py
Browse files Browse the repository at this point in the history
fix: Don't correct common Python identifiers
  • Loading branch information
epage committed Apr 2, 2024
2 parents 928bcea + a9402e3 commit d7a1087
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/typos-cli/src/file_type_specifics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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: &[],
},
Expand Down

0 comments on commit d7a1087

Please sign in to comment.