Use Pylint for error checking

It is better than previous method in that regard