scipy / scipy_doctest

Floating-point aware doctesting
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Streamline the plugin registration #119

Closed ev-br closed 2 weeks ago

ev-br commented 6 months ago

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:

ev-br commented 2 weeks ago

This was done by Sheila in https://github.com/scipy/scipy_doctest/pull/71. The fact that the plugin reacts to the --doctest-modules can be considered as a feature, and the global state is a mere convenience not a requirement. Closing as completed.