Add pyflakes to automated testing