Skip to content

Commit c86f500

Browse files
committed
Consider spacy files to be non-text
1 parent 0f1c644 commit c86f500

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: tmc-langs/src/submission_processing.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ use walkdir::{DirEntry, WalkDir};
1111
lazy_static! {
1212
static ref FILES_TO_SKIP_ALWAYS: Regex = Regex::new(r"\.tmcrc|^metadata\.yml$").unwrap();
1313
static ref NON_TEXT_TYPES: Regex =
14-
Regex::new("class|jar|exe|jpg|jpeg|gif|png|zip|tar|gz|db|bin|csv|tsv|sqlite3|^$").unwrap();
14+
Regex::new("class|jar|exe|jpg|jpeg|gif|png|zip|tar|gz|db|bin|csv|tsv|sqlite3|spacy|^$")
15+
.unwrap();
1516
}
1617

1718
// Filter for hidden directories (directories with names starting with '.')

0 commit comments

Comments
 (0)