Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/maturin_import_hook/project_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def get_files_in_dir(

for dir_str, dirs, files in os.walk(root_path, topdown=True):
dir_path = Path(dir_str)
include_dir = dir_path not in ignore_dirs and not any(dir_name in excluded_dir_markers for dir_name in dirs)
include_dir = dir_path not in ignore_dirs and not any(name in excluded_dir_markers for name in files)

if include_dir:
dirs[:] = sorted(dir_name for dir_name in dirs if dir_name not in excluded_dir_names)
Expand Down
Loading