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

Streamline the plugin registration #119

Open
ev-br opened this issue Feb 21, 2024 · 0 comments
Open

Streamline the plugin registration #119

ev-br opened this issue Feb 21, 2024 · 0 comments
Labels
enhancement New features w.r.t. the original refguide-check pytest-plugin

Comments

@ev-br
Copy link
Member

ev-br commented Feb 21, 2024

Look into defining a setup tools entry point:

https://docs.pytest.org/en/stable/how-to/writing_plugins.html#setuptools-entry-points

This is to allow:

  • avoid hijacking the --doctest-modules switch
  • avoid importing dt_config instance from our contest (global state?)
@ev-br ev-br added enhancement New features w.r.t. the original refguide-check pytest-plugin labels Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features w.r.t. the original refguide-check pytest-plugin
Projects
None yet
Development

No branches or pull requests

1 participant