Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reporter entrypoint #10

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Add reporter entrypoint #10

merged 3 commits into from
Jan 22, 2024

Conversation

nicholasjng
Copy link
Collaborator

Adds a function that registers custom reporters via an importlib entry point.

Such entry points can be added in setup.py or pyproject.toml, each via a top-level keyword.

Adds a function that registers custom reporters via an importlib entry
point.

Such entry points can be added in setup.py or pyproject.toml, each via
a top-level keyword.
@nicholasjng nicholasjng self-assigned this Jan 21, 2024
They are each assumed to be of the form `key=value`. The string is split
accordingly, and the value (classpath) is registered under the key.
@nicholasjng nicholasjng linked an issue Jan 22, 2024 that may be closed by this pull request
@nicholasjng nicholasjng merged commit e2d4e6b into main Jan 22, 2024
5 checks passed
@nicholasjng nicholasjng deleted the add-reporter-entrypoint branch January 22, 2024 12:32
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.

Provide an importlib entry point for registering custom reporters
1 participant