add more python extensions

This commit is contained in:
augustelalande 2024-04-07 22:40:02 -04:00
parent c15b28fff9
commit 2784d7deb5

View file

@ -184,7 +184,9 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("puppet", &["*.erb", "*.pp", "*.rb"]), ("puppet", &["*.erb", "*.pp", "*.rb"]),
("purs", &["*.purs"]), ("purs", &["*.purs"]),
("py", &[ ("py", &[
"*.ipynb",
"*.py", "*.py",
"*.pyi",
// From a spell-check perspective, this is more like Python than toml // From a spell-check perspective, this is more like Python than toml
"pyproject.toml", "pyproject.toml",
]), ]),