Skip to content

add feature for exclusive path inclusion#33

Merged
thrau merged 2 commits into
mainfrom
include-path-feature
Nov 25, 2025
Merged

add feature for exclusive path inclusion#33
thrau merged 2 commits into
mainfrom
include-path-feature

Conversation

@thrau

@thrau thrau commented Nov 25, 2025

Copy link
Copy Markdown
Member

Motivation

Analogous to #28, this PR make sure the include flag of scanning for packages works. This can be used to scan only specific files for plugins, which can be useful when you want to narrow down plugin discovery to some part of the codebase.

Changes

  • both python -m plux discover and python -m plux entrypoints now support the --include flag, which works like --exclude
  • you can also specify include = [...] in your pyproject.toml under the [tool.plux] section

@thrau thrau merged commit bb60a2c into main Nov 25, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant