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

Skip plugin run, following setup.cfg configuration #173

Open
sgeulette opened this issue Apr 20, 2016 · 2 comments
Open

Skip plugin run, following setup.cfg configuration #173

sgeulette opened this issue Apr 20, 2016 · 2 comments

Comments

@sgeulette
Copy link

Hi,
I release some projects in non interactive mode but one plugin crashes.
It would be nice to add an option in setup.cfg with a list of plugins to skip.
Regards

@mauritsvanrees
Copy link
Member

Some ideas around that are in #168, especially #168 (comment)
And #172 is a bit related.
We should probably do a try/except when iterating over hooks.

@mauritsvanrees
Copy link
Member

This has come up again in a followup comment in #168 by @gforcada.

We could read another config option (from setup.cfg or ~/.pypirc, we usually look in both for this sort of stuff). Think of options like only_these_hooks_please and/or forbid_these_hooks, or more professional/serious names. We can then run or skip entrypoints with those names in the run_entry_points function:

def run_entry_points(which_releaser, when, data):

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

No branches or pull requests

2 participants