some confs cleanup, pyflakes added to tox

Change-Id: Ic83f7c05ce8a59a549b86b76d312019558c485e6