Improved code quality using Pylint (it was quite fun actually).