-
Notifications
You must be signed in to change notification settings - Fork 123
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
high level overview #14
Comments
1/2) both setuptools entrypoints and custom loading are upported |
This explanation is no better than "as used by py.test". =)
|
there is no "normal" you'd just have a hook thats called on all plugins that get registered in all variants it was called with there is a reason why i strongly referred to pytest internal usages, |
@techtonik one of the milestones for a pluggy We should use this issue to remember ourselves of the need for better documentation on pluggy. |
I see.
Before a hook is called on a plugin, you need to find and import that plugin. Is that "hook" is just a function that should be implemented by a module as a part of plugin interface? |
Yes, the pytest_configure hook in pytest is one such example |
Ok. hooks == plugin api == plugin callbacks. Thanks for the explanations. |
Hello, I'm in the process of implementing plugins using pluggy in our own application. Is there a more elaborate description of how to use pluggy? When can pluggy 1.0 be expected? When can pytest 3 be expected? |
Not sure, @hpk42 could comment on that.
I would say sometime after our sprint, which will end on June 25th. |
@nicoddemus @RonnyPfannschmidt @hpk42 I'd be willing to take a stab at this. I've now used I'd be willing to submit a PR for sphinx docs within the next few weeks. My only request is that eventually this project is moved to the |
I did send @hpk42 a mail about that |
My personal opinion is that I certainly would love to have some docs for the project! I would also like to move it to |
@RonnyPfannschmidt @nicoddemus well it looks like we got our wish! Are you guys cool with sphinx + the alabaster theme to start? |
Hey @tgoodlet! 😁 I think Sphinx is fine, but if you don't mind I would rather publish to readthedocs with the default readthedocs theme. What do you think? |
@nicoddemus sure works for me. I'll get something cobbled together in the next week or so and link you guys. |
Nice, sounds good! Thanks a lot for your interest, it is really appreciated by the team! 👍 Btw, already created the project on readthedocs. 😁 |
I'd be very happy with a sphinx project even by just having nice API online documentation. @tgoodlet if you go for this we could eventually go for pluggy-1.0 i think 👍 |
@hpk42 yeah I know I kinda dropped the ball on this...been busy. It's Pycon Canada this weekend in Toronto so I'll try to jam something out at the very least during the sprints Mon-Tues. |
actually, let me just do a quick and dirty initial setup with only api docs |
@RonnyPfannschmidt so are you going to push up just a sphinx autodoc draft? I'm a fan of you getting the rtd build up and running since I don't have access currently ;) |
starting point for pytest-dev#14 as well
Covers everything in the original pluggy.py module's doc string in much more detail with links to external resources as seemed fit. Resolves pytest-dev#14
We now have full sphinx docs as per pytest-dev#14. pluggy.py is the entire project and it doesn't make much sense to describe that module's contents other then saying "this is it folks".
Covers everything in the original pluggy.py module's doc string in much more detail with links to external resources as seemed fit. Resolves pytest-dev#14
We now have full sphinx docs as per pytest-dev#14. pluggy.py is the entire project and it doesn't make much sense to describe that module's contents other then saying "this is it folks".
We now have full sphinx docs as per pytest-dev#14. pluggy.py is the entire project and it doesn't make much sense to describe that module's contents other then saying "this is it folks".
The description "as used by py.test" is not very helpful. To be able to compare with other known plugin systems like Trac, SCons , Roundup or Spyder I need to answer the questions:
The text was updated successfully, but these errors were encountered: