summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatteo Bertini <matteo@naufraghi.net>2018-11-19 13:37:00 +0100
committerAndrew Gallant <jamslam@gmail.com>2018-11-19 07:37:00 -0500
commit09e464e67493138fcf598212fe7972518329fe60 (patch)
tree5d82db97d43ecf5ceaadf50c95b6915f40b7471d
parent31adff6f3c4bfefc9e77df40871f2989443e6827 (diff)
ignore/types: add more Cython file types
From the [Cython file types](https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html?highlight=pxi#cython-file-types) paragraph on the official docs: > There are three file types in Cython: > The implementation files, carrying a .py or .pyx suffix. > The definition files, carrying a .pxd suffix. > The include files, carrying a .pxi suffix. PR #1113
-rw-r--r--ignore/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ignore/src/types.rs b/ignore/src/types.rs
index 8cd044e3..2f0da38a 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -128,7 +128,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("cshtml", &["*.cshtml"]),
("css", &["*.css", "*.scss"]),
("csv", &["*.csv"]),
- ("cython", &["*.pyx"]),
+ ("cython", &["*.pyx", "*.pxi", "*.pxd"]),
("dart", &["*.dart"]),
("d", &["*.d"]),
("dhall", &["*.dhall"]),