From 4361f55ea1b3e347b8380da8bbfe97c6568d183f Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Wed, 23 Oct 2024 00:39:53 +0200 Subject: [PATCH] feat(python_file_finder): only use gitignore files when using git --- src/python_file_finder.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/python_file_finder.rs b/src/python_file_finder.rs index 493df2a02..f3d909d01 100644 --- a/src/python_file_finder.rs +++ b/src/python_file_finder.rs @@ -61,9 +61,8 @@ fn build_walker( walk_builder .types(build_types(ignore_notebooks).unwrap()) + .standard_filters(use_git_ignore) .hidden(false) - .git_ignore(use_git_ignore) - .require_git(false) .filter_entry(move |entry| entry_satisfies_predicate(entry, re.as_ref())) .build() }