Add linting to metis and lint all of its .py files