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

Automatic code quality checking #93

Closed
adler-j opened this issue Nov 26, 2015 · 5 comments
Closed

Automatic code quality checking #93

adler-j opened this issue Nov 26, 2015 · 5 comments

Comments

@adler-j
Copy link
Member

adler-j commented Nov 26, 2015

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.

@kohr-h
Copy link
Member

kohr-h commented Nov 26, 2015

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 ;-).

@kohr-h
Copy link
Member

kohr-h commented Nov 26, 2015

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.

@kohr-h
Copy link
Member

kohr-h commented Nov 26, 2015

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.

@adler-j
Copy link
Member Author

adler-j commented Nov 27, 2015

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.

@adler-j adler-j closed this as completed Nov 27, 2015
@kohr-h
Copy link
Member

kohr-h commented Nov 27, 2015

Yes, sure. When we later feel the need for such a thing, we can set up one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants