From 2784d7deb58042da6b1b8aebee8ff3033e9c31cb Mon Sep 17 00:00:00 2001 From: augustelalande Date: Sun, 7 Apr 2024 22:40:02 -0400 Subject: [PATCH 1/2] 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 db71bf5..fb86451 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", ]), From 5e639f1ddb814ab666804717ef6a2d25c1fb2f19 Mon Sep 17 00:00:00 2001 From: augustelalande Date: Tue, 9 Apr 2024 16:05:19 -0400 Subject: [PATCH 2/2] remove ipynb from python --- crates/typos-cli/src/default_types.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/typos-cli/src/default_types.rs b/crates/typos-cli/src/default_types.rs index fb86451..390e419 100644 --- a/crates/typos-cli/src/default_types.rs +++ b/crates/typos-cli/src/default_types.rs @@ -184,7 +184,6 @@ 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