Add lint.sh script and pass all flake8 tests.