Fix flake8 compliants in tools python programs.

Change-Id: I59feb2824fce16d23d56833fd51e4814a0e641cf