-
Notifications
You must be signed in to change notification settings - Fork 106
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
Automatic code quality checking #93
Comments
We have to be a bit careful, I agree. These tools are actually meant to help in finding bugs, comparing code quickly for review etc., so developers become more efficient. But in reality, it is easy to become obsessed with optimizing some figures (like the quite meaningless "code health"). Then one suddenly wastes time tracking down warnings and errors which only come from, e.g., Pylint not understanding our code properly (like the operator example). Current times for pull requests are mostly due to us bouncing back and forth in iterations. I'm quite sure we're going to improve over time ;-). |
Having said this, I think it is beneficial to have something to check the style so things don't easily slip through. This can be quite basic like a function or class not being properly documented or some bad variable names. Here it can actually be quite helpful to quickly find such quirks. |
Codacy and Code climate seem to be a bit less annoying and better integrated into the PR machinery. And probably customizable to be even less annoying. |
I'll close this now with decision that we dont use any auto checking that spams us, but we can have the sites running. I suggest we also remove the .landscape.yaml file since it clutters the top level. |
Yes, sure. When we later feel the need for such a thing, we can set up one. |
I added landscape a while back, but recently in #73 it started sending messages. This is somewhat obnoxious.
I'm considering adding something like this (perhaps codacy) to the project. The issue might be that we add to many of these tools and keeping high quality of code will actually slow us down. Even now the process of doing a single pull takes abit too long in my opinion.
The text was updated successfully, but these errors were encountered: