diff --git a/src/config.rs b/src/config.rs index cba60a8..7e0a0da 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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 {