-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add LGTM code quality badges #554
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
Conversation
|
@wholmgren some interesting bugs found by the LGTM alerts |
|
Looks like it could be useful. So far as I can tell, a few of the reported errors are incorrect. These include:
The imports should be cleaned up, though they are not hurting anything. Same for unused and identically assigned variables. This We'd probably want to add a Most importantly we'd want to enable github integration to check pull requests. This is much more interesting to me than badges in the readme. |
Actually, I think it is a bug. I should have used Or Sorry, I can send a pr to address it. Shall I open a ticket, or just wait until the SciPy dependency discussion is resolved? |
|
Happy of this feedback, and thanks a lot for the detailed report. Allow me to pass it to my python colleagues so that they can check the false positives.
I cannot agree more. PR integration is indeed the usage we recommend. I think the badges are more interesting for your potential users. Activating PR integration is a one-click operation. |
|
@mikofski thanks for checking! please do put in a quick pr. |
|
Added PR integration. Easy to remove if we don't like it. Edited to add that I've turned off the auto-comment feature. I think the report in the Github integrations box is sufficient. |
|
I'll go ahead and merge this and separately add a |
Hi there!
I thought you might be interested in adding these code quality badges to your project. They will indicate a very high code quality to potential users and contributors.
You can also check the alerts discovered by LGTM.
N.B.: I am on the team behind LGTM.com, I'd appreciate your feedback on this initiative, whether you're interested or not, if you find time to drop me a line. Thanks.