Add pylint and customize script for cmake