From 2784d7deb58042da6b1b8aebee8ff3033e9c31cb Mon Sep 17 00:00:00 2001 From: augustelalande Date: Sun, 7 Apr 2024 22:40:02 -0400 Subject: [PATCH] add more python extensions --- crates/typos-cli/src/default_types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/typos-cli/src/default_types.rs b/crates/typos-cli/src/default_types.rs index db71bf58..fb864514 100644 --- a/crates/typos-cli/src/default_types.rs +++ b/crates/typos-cli/src/default_types.rs @@ -184,7 +184,9 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("puppet", &["*.erb", "*.pp", "*.rb"]), ("purs", &["*.purs"]), ("py", &[ + "*.ipynb", "*.py", + "*.pyi", // From a spell-check perspective, this is more like Python than toml "pyproject.toml", ]),