From 3aaf550ca5451497f04deda5d723af9c59108c99 Mon Sep 17 00:00:00 2001 From: Tim Sampson Date: Fri, 28 Oct 2016 09:24:21 +0300 Subject: [PATCH] update python types to include Cython files --- src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.rs b/src/types.rs index b49e9df5..7c33a48c 100644 --- a/src/types.rs +++ b/src/types.rs @@ -65,7 +65,7 @@ const TYPE_EXTENSIONS: &'static [(&'static str, &'static [&'static str])] = &[ ("ocaml", &["*.ml", "*.mli", "*.mll", "*.mly"]), ("perl", &["*.perl", "*.pl", "*.PL", "*.plh", "*.plx", "*.pm"]), ("php", &["*.php", "*.php3", "*.php4", "*.php5", "*.phtml"]), - ("py", &["*.py"]), + ("py", &["*.py", "*.pyx"]), ("readme", &["README*", "*README"]), ("r", &["*.R", "*.r", "*.Rmd", "*.Rnw"]), ("rst", &["*.rst"]),