Pylint it and fix typo