Feature/pyflakes

pyflakes fix and travis