Replaced pylint with flake8