Stricter flake8 check

- remove some flake8 warnings from ignore list;
- enable flake8 for tools;
- fix flake8 warnings for tools.

Change-Id: I5ddb5f7a3c62be1c7f88440bdf82bd93783f46de
Merge "Stricter flake8 check"