fix python-validation.sh qa test (flake8)