mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-29 04:21:06 -05:00
parent
3161cd6a82
commit
e5e98c3754
1 changed files with 14 additions and 0 deletions
|
@ -224,6 +224,20 @@ impl TypeEngineConfig {
|
||||||
..Default::default()
|
..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
|
patterns
|
||||||
.entry("cert".into())
|
.entry("cert".into())
|
||||||
.or_insert_with(|| GlobEngineConfig {
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
|
Loading…
Reference in a new issue