Skip to content

Commit

Permalink
add ignore marker file to default project searcher
Browse files Browse the repository at this point in the history
  • Loading branch information
mbway committed Dec 6, 2024
1 parent dc44f36 commit a64df7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/maturin_import_hook/project_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,11 @@ class DefaultProjectFileSearcher(ProjectFileSearcher):
}
DEFAULT_SOURCE_EXCLUDED_DIR_MARKERS: ClassVar[set[str]] = {
"CACHEDIR.TAG", # https://bford.info/cachedir/
".maturin_hook_ignore",
}
DEFAULT_SOURCE_EXCLUDED_FILE_EXTENSIONS: ClassVar[set[str]] = {
".so",
".py",
".pyc",
}

Expand Down

0 comments on commit a64df7c

Please sign in to comment.