Flake8 examples

See https://trello.com/c/HP5YepWx/324-flake8-extension

This PR flake8 all Python files under `examples` (and a few files under `sql`)