Skip to content

Commit

Permalink
feat(python_file_finder): only use gitignore files when using git
Browse files Browse the repository at this point in the history
  • Loading branch information
mkniewallner committed Oct 22, 2024
1 parent 008888b commit 4361f55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/python_file_finder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 4361f55

Please sign in to comment.