mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
parent
3161cd6a82
commit
e5e98c3754
1 changed files with 14 additions and 0 deletions
|
@ -224,6 +224,20 @@ impl TypeEngineConfig {
|
|||
..Default::default()
|
||||
},
|
||||
});
|
||||
patterns
|
||||
.entry("py".into())
|
||||
.or_insert_with(|| GlobEngineConfig {
|
||||
extend_glob: Vec::new(),
|
||||
engine: EngineConfig {
|
||||
dict: Some(DictConfig {
|
||||
extend_identifiers: maplit::hashmap! {
|
||||
"NDArray".into() => "NDArray".into(),
|
||||
},
|
||||
..Default::default()
|
||||
}),
|
||||
..Default::default()
|
||||
},
|
||||
});
|
||||
patterns
|
||||
.entry("cert".into())
|
||||
.or_insert_with(|| GlobEngineConfig {
|
||||
|
|
Loading…
Reference in a new issue