Run pyflakes in validate.sh