Skip to content

Commit

Permalink
add ignore marker file to default project searcher (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbway authored Dec 7, 2024
1 parent dddccd1 commit 298c70c
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 @@ -505,9 +505,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 298c70c

Please sign in to comment.