Issue #18 resolved
Pyroma returns score as a return code, breaking some CI tools
pyroma.main is an entrypoint script, the return value is used as the return code.
This broke my tox build because tox considers not-0 to be a failing retcode, and of course my wonderful application scores 10 ;-)
I would suggest:
- Return 0 or None unconditionally (easy, not great: still breaks things that look for the retcode, except with false negatives instead of false positives)
1 if ratings else 0(pretty easy, returns
10 - ratings(my favorite, still returns 0 on success, but gives you an idea of how bad the failure was, allowing people to consider score > something as a success if there is some issue they can't really fix)