From 335aa4937aed8f9c1bf3f5722e8fc4d671d46dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 23 May 2023 14:10:02 +0300 Subject: [PATCH] ignore/types: add *.pyi for Python https://peps.python.org/pep-0484/#stub-files PR #2517 --- crates/ignore/src/default_types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index fff815b..6d7875c 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -186,7 +186,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("ps", &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]), ("puppet", &["*.epp", "*.erb", "*.pp", "*.rb"]), ("purs", &["*.purs"]), - ("py", &["*.py"]), + ("py", &["*.py", "*.pyi"]), ("qmake", &["*.pro", "*.pri", "*.prf"]), ("qml", &["*.qml"]), ("r", &["*.R", "*.r", "*.Rmd", "*.Rnw"]),