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
badge generated from flake8 statistics #1334
Comments
Thanks @asottile I would have hoped for at least a tiny bit of reaction :) Anyway just one thing that bothers me, maybe you'll have a suggestion: for the other tools ( Also, since Thanks again for your time ! |
there's no such thing as severity, that's something flake8-html invented and I would not use it. the individual code names do not infer how severe of an error they are (E / F / W do not stand for error / failure / warning for example). I would not recommend you proliferate this concept from flake8-html admittedly I don't see the point of a flake8 badge -- any linter failures should be either solved or intentionally silenced so it should always be 0 |
Thanks @asottile for the answer and links !
Well after 15 years of industrial and open source software development I have to say that even if this is true in theory, in practice it is very rarely the case: mature and high-quality projects are very rare out there ;) . So I prefer to motivate reluctant developers to use Thanks again for your time ! I'll link your suggestion to a new issue in genbadge now |
I have similar years of experience and have not worked on a project where |
wow ! I'm impressed. I have seen projects not using flake8 at all, or using it but ignoring it, or... Anyway, I'm not saying that gamification is the answer to everything of course, but at least if it can drive some developers to code quality then that's already a win. Thanks again ! |
going from the top 10 packages on pypi
anyway, this has run its course, good day |
Hi there and thanks for this great lib !
This is not an issue, rather information: I have created a library to generate a set of badges for pytest, coverage and flake8. I currently use the output of
flake8 --statistics
to generate the badge without relying too much on any flake8 internals.The only exception is severity levels : they are obtained from
flake8-html
internal API so that they match the ones in the HTML report.If you have any suggestion, comment, etc. feel free to open issues on the project page !
https://smarie.github.io/python-genbadge/
(you can now close this ticket once read :) )
The text was updated successfully, but these errors were encountered: